Skip to content

feat(console,core): add protected app ID token scopes#8798

Open
wangsijie wants to merge 3 commits into
masterfrom
wangsijie-protected-app-id-token-scopes
Open

feat(console,core): add protected app ID token scopes#8798
wangsijie wants to merge 3 commits into
masterfrom
wangsijie-protected-app-id-token-scopes

Conversation

@wangsijie
Copy link
Copy Markdown
Contributor

@wangsijie wangsijie commented May 12, 2026

Summary

  • Add per Protected App additional scopes configuration for extended ID token claims.
  • Expose scope selection in Console and sync the config to Protected App site configs.

Closes #8767

Testing

Unit tests

image

@github-actions github-actions Bot added the feature Cool stuff label May 12, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

COMPARE TO master

Total Size Diff ⚠️ 📈 +20.75 KB

Diff by File
Name Diff
packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/ProtectedAppSettings/components/AdditionalScopesForm.module.scss 📈 +1.77 KB
packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/ProtectedAppSettings/components/AdditionalScopesForm.tsx 📈 +4.35 KB
packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/ProtectedAppSettings/index.tsx 📈 +101 Bytes
packages/core/src/mocks/index.ts 📈 +26 Bytes
packages/core/src/libraries/protected-app.test.ts 📈 +30 Bytes
packages/core/src/libraries/protected-app.ts 📈 +28 Bytes
packages/core/src/routes/applications/application.test.ts 📈 +512 Bytes
packages/core/src/routes/applications/types.ts 📈 +381 Bytes
packages/phrases/src/locales/ar/translation/admin-console/protected-app.ts 📈 +856 Bytes
packages/phrases/src/locales/de/translation/admin-console/protected-app.ts 📈 +731 Bytes
packages/phrases/src/locales/en/translation/admin-console/protected-app.ts 📈 +646 Bytes
packages/phrases/src/locales/es/translation/admin-console/protected-app.ts 📈 +710 Bytes
packages/phrases/src/locales/fr/translation/admin-console/protected-app.ts 📈 +726 Bytes
packages/phrases/src/locales/it/translation/admin-console/protected-app.ts 📈 +660 Bytes
packages/phrases/src/locales/ja/translation/admin-console/protected-app.ts 📈 +806 Bytes
packages/phrases/src/locales/ko/translation/admin-console/protected-app.ts 📈 +728 Bytes
packages/phrases/src/locales/pl-pl/translation/admin-console/protected-app.ts 📈 +703 Bytes
packages/phrases/src/locales/pt-br/translation/admin-console/protected-app.ts 📈 +694 Bytes
packages/phrases/src/locales/pt-pt/translation/admin-console/protected-app.ts 📈 +695 Bytes
packages/phrases/src/locales/ru/translation/admin-console/protected-app.ts 📈 +952 Bytes
packages/phrases/src/locales/th/translation/admin-console/protected-app.ts 📈 +1.07 KB
packages/phrases/src/locales/tr-tr/translation/admin-console/protected-app.ts 📈 +710 Bytes
packages/phrases/src/locales/zh-cn/translation/admin-console/protected-app.ts 📈 +630 Bytes
packages/phrases/src/locales/zh-hk/translation/admin-console/protected-app.ts 📈 +633 Bytes
packages/phrases/src/locales/zh-tw/translation/admin-console/protected-app.ts 📈 +636 Bytes
packages/schemas/src/foundations/jsonb-types/applications.test.ts 📈 +847 Bytes
packages/schemas/src/foundations/jsonb-types/applications.ts 📈 +436 Bytes

- present scope/claim mapping in a table with greyed-out tags for non-forwarded claims
- inline link to Custom JWT > ID token and footnote hint for enabling extended claims
- translate new strings across all supported locales
@wangsijie wangsijie marked this pull request as ready for review May 13, 2026 11:54
Copilot AI review requested due to automatic review settings May 13, 2026 11:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 3 comments.

Comment thread packages/schemas/src/foundations/jsonb-types/applications.ts
Comment thread packages/core/src/routes/applications/types.ts
@github-actions github-actions Bot added size/xl and removed size/l labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

feature request: Allow Protected App to forward extended ID token claims (e.g. custom_data)

2 participants