Azure / Azure/static-web-apps

Use roles with custom authentication provider

Open
#481 14 comments 0 reactions 0 assignees View on GitHub
AuthN/Z
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Is it possible to access a user's roles when using a custom authentication provider like Auth0? I would have expected that I can configure the provider so that the tokens contain the roles, but I couldn't find any documentation on it. After reading https://github.com/Azure/static-web-apps/issues/429 I'm not sure anymore, is this not supported?

I wouldn't even need the built-in SWA roles to work, but without a possibility access additional claims, I can't implement it myself either.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.