You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my system, I need to add additional claims after a successful keycloak authentication AND have the authenticated user persisted in the cookie so the auth doesn't happen on each page load. There appears to be no hook in this library for a ClaimsTransformation to be performed.
Following the instructions at https://github.com/dylanplecki/KeycloakOwinAuthentication/wiki/ASP.NET-MVC-Tutorial (which is the only example code I can find anywhere using any KeyCloak library similar to this fork), my code looks like this:
In my system, I need to add additional claims after a successful keycloak authentication AND have the authenticated user persisted in the cookie so the auth doesn't happen on each page load. There appears to be no hook in this library for a ClaimsTransformation to be performed.
Following the instructions at https://github.com/dylanplecki/KeycloakOwinAuthentication/wiki/ASP.NET-MVC-Tutorial (which is the only example code I can find anywhere using any KeyCloak library similar to this fork), my code looks like this:
Where do I transform?
The text was updated successfully, but these errors were encountered: