Skip to content

Add mapping for JWT claims into app roles #42

Open
finos/git-proxy
#977
@jescalada

Description

@jescalada

We want to be able to map JWT claims into app roles. For example, a custom claim such as "my-app-access": "my-app-access" could be configured as the claim for the admin role, which gets attached to the req.user object. This would allow us to define arbitrary roles and claims to enable these roles directly from the API, without logging in.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions