Blazorade / Blazorade-MSAL

A Blazor component library that makes it easy to use authentication in your application through MSAL, both in Blazor Server and Blazor WebAssembly applications.
MIT License
17 stars 5 forks source link

Return the access token as claims #28

Open mr-nuno opened 1 year ago

mr-nuno commented 1 year ago

When you request a access token based on scope against Azure AD the roles connected to your account is in the access token. Return the access token as claims will make it easier to check the roles in your blazor app.

MikaBerglund commented 1 year ago

Thanks for your contribution. I'll look into your suggestion.