Skip to content

Conversation

@serg-bs
Copy link

@serg-bs serg-bs commented May 14, 2025

We have Identity provider for multiple applications.
We want to have granular access. For that we need additional claims

For example https://www.pgadmin.org/docs/pgadmin4/8.3/oauth2.html
OAUTH2_ADDITIONAL_CLAIMS
Pgadmin example

{
'OAUTH2_NAME': 'SAP',
'OAUTH2_DISPLAY_NAME': 'SAP IAS',
'OAUTH2_CLIENT_ID': '',
'OAUTH2_CLIENT_SECRET': '',
'OAUTH2_TOKEN_URL': 'oauth2/token',
'OAUTH2_AUTHORIZATION_URL': 'oauth2/authorize',
'OAUTH2_SERVER_METADATA_URL': '.well-known/openid-configuration',
'OAUTH2_API_BASE_URL': '',
'OAUTH2_USERINFO_ENDPOINT': 'oauth2/userinfo',
'OAUTH2_SCOPE': 'openid email profile',
'OAUTH2_USERNAME_CLAIM': 'email',
'OAUTH2_ICON': 'fa-sign-in',
'OAUTH2_BUTTON_COLOR': '#F0AB00'
'OAUTH2_ADDITIONAL_CLAIMS': {
'groups': ['pgadmin']
}
}
Duplicate: #1913

@serg-bs serg-bs requested a review from a team as a code owner May 14, 2025 07:50
@serg-bs serg-bs requested review from andrewzamojc and removed request for a team May 14, 2025 07:50
@vercel
Copy link

vercel bot commented May 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
holocene ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2025 8:11am

@CLAassistant
Copy link

CLAassistant commented May 14, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants