-
-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(core)!: update user scopes #1922
Conversation
LOG-4053 Core: Update Userinfo Endpoint
Current user info endpoint response:
Update toAdd scope to claim mapping:
DO NOT include the following properties in claims (both user info endpoint response and ID token):
Map DB table properties to standard claims:
ID token claims:
User info response claims:
--- Reference: |
COMPARE TO
|
Name | Diff |
---|---|
packages/console/src/App.tsx | 📈 +73 Bytes |
packages/console/src/components/AppContent/components/UserInfo/index.tsx | 📈 +197 Bytes |
packages/core/package.json | 📈 +65 Bytes |
packages/core/src/env-set/add-connectors.ts | 📈 +68 Bytes |
packages/core/src/middleware/koa-error-handler.test.ts | 📈 +355 Bytes |
packages/core/src/middleware/koa-error-handler.ts | 📈 +137 Bytes |
packages/core/src/oidc/init.ts | 📈 +340 Bytes |
packages/core/src/oidc/scope.test.ts | 📈 +1.6 KB |
packages/core/src/oidc/scope.ts | 📈 +1.54 KB |
packages/shared/src/index.ts | 📈 +25 Bytes |
packages/shared/src/scope.ts | 📈 +2.45 KB |
pnpm-lock.yaml | 📈 +1.95 KB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
HttpError
instead of showing 500Testing