NikiforovAll / keycloak-authorization-services-dotnet

Authentication and Authorization with Keycloak and ASP.NET Core 🔐
https://nikiforovall.github.io/keycloak-authorization-services-dotnet/
MIT License
480 stars 113 forks source link

fix: Remove early returns in claims transformation #99

Closed Alexr03 closed 6 months ago

Alexr03 commented 6 months ago

Issue: Current implementation will flow to an early return statement when all of the following requirements are met:

Expected Result: The realm role will be applied to the principal.

Actual Result: The realm role is not applied to the principal.

Resolution:

NikiforovAll commented 6 months ago

thank you for the fix