Relative Content

Tag Archive for keycloakopenid-connectowin

Infinite redirection loop when using Microsoft.Owin.Security and OpenIdConnectAuthentication

I was using this library: https://github.com/dylanplecki/KeycloakOwinAuthentication/tree/master
and recently we wanted to upgrade to use Owin middleware, in summary this is my code,
i noticed that sometimes it logs in correctly, and sometimes it’s stuck in an infinite loop of redirection that stops once i force refresh the page in the browser, after that it login correctly.
`