mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 17:23:22 +03:00
[PR #53] [MERGED] feat: custom claims #958
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/53
Author: @stonith404
Created: 10/28/2024
Status: ✅ Merged
Merged: 10/28/2024
Merged by: @stonith404
Base:
main← Head:feat/custom-claims📝 Commits (5)
465b512add first version of custom claims8b4e84bremove required admin binding from isAdmind5ceb94Merge branch 'main' into feat/custom-claimscb27e8cadd custom claims to user groups0abf232add tests📊 Changes
43 files changed (+1069 additions, -279 deletions)
View changed files
📝
backend/internal/bootstrap/router_bootstrap.go(+4 -1)📝
backend/internal/common/errors.go(+143 -16)📝
backend/internal/controller/app_config_controller.go(+11 -16)📝
backend/internal/controller/audit_log_controller.go(+2 -3)➕
backend/internal/controller/custom_claim_controller.go(+78 -0)📝
backend/internal/controller/oidc_controller.go(+25 -48)📝
backend/internal/controller/test_controller.go(+4 -5)📝
backend/internal/controller/user_controller.go(+19 -38)📝
backend/internal/controller/user_group_controller.go(+15 -26)📝
backend/internal/controller/webauthn_controller.go(+16 -22)📝
backend/internal/controller/well_known_controller.go(+1 -2)➕
backend/internal/dto/custom_claim_dto.go(+8 -0)📝
backend/internal/dto/user_dto.go(+7 -6)📝
backend/internal/dto/user_group_dto.go(+12 -10)📝
backend/internal/middleware/error_handler.go(+50 -24)📝
backend/internal/middleware/file_size_limit.go(+3 -3)📝
backend/internal/middleware/jwt_auth.go(+4 -6)📝
backend/internal/middleware/rate_limit.go(+1 -4)➕
backend/internal/model/custom_claim.go(+11 -0)📝
backend/internal/model/user.go(+3 -2)...and 23 more files
📄 Description
Implements #25
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.