data-api-builder icon indicating copy to clipboard operation
data-api-builder copied to clipboard

[Enh] Change default 'roles' claim in token for authentication

Open St3v395 opened this issue 2 months ago • 0 comments

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!

St3v395 avatar Nov 06 '25 09:11 St3v395