data-api-builder
data-api-builder copied to clipboard
[Enh] Change default 'roles' claim in token for authentication
At the moment, DAB searches for the token's default 'roles' claim to authenticate the user. It may be useful to allow specifying a custom role claim name in the configuration file (like 'permissions' or 'auth-level'), so that DAB knows where to retrieve the role from.
Thank you very much guys!