temporalio / temporalio/ui

OAUTH Additional claims

Open
#1,913 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
431
Forks
179
Avg merge
2d 9h
Merged PRs (30d)
71

Description

Is your feature request related to a problem? Please describe.

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': '<clientId>',
    'OAUTH2_CLIENT_SECRET': '<clientSecret>',
    'OAUTH2_TOKEN_URL': '<ias base url>oauth2/token',
    'OAUTH2_AUTHORIZATION_URL': '<ias base url>oauth2/authorize',
    'OAUTH2_SERVER_METADATA_URL': '<ias base url>.well-known/openid-configuration',
    'OAUTH2_API_BASE_URL': '<ias base url>',
    'OAUTH2_USERINFO_ENDPOINT': '<ias base url>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']
    }
}

Describe the solution you'd like

Introduce additional variables to pass claims

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files or tests; start by locating the existing OAuth configuration and authentication flow in the TypeScript UI. Define what additional claims such as groups should be accepted and how they affect granular access, then verify the behavior with the relevant authentication tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.