Skip to content

Add Organization id into OIDC JWT token claims #204

@pedroforesti

Description

@pedroforesti

Is your improvement proposal related to a problem? Please describe.

Currently, in the OIDC token generation it would be good to include an immutable claim field for the organization that is not its name.

Describe the solution you'd like

Include the organization Id in the default JWT Claims and maybe in the SUB claim composition.
As described here: https://docs.semaphoreci.com/reference/openid

Describe alternatives you've considered

No response

Additional context

The JWT implementation can be found here: https://github.com/semaphoreio/semaphore/blob/main/secrethub/lib/secrethub/open_id_connect/jwt.ex

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions