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
I consider this a bug in functionality as there should never get into an infinite loop. I've tried this question with IDS 4 team but they don't respond well. I've got a base asp.net core 3.1 application, trying to integrate it with Identity Server 4. Login page works, user gets authenticated. I've added code for the event handlers in
.AddOpenIdConnect("oidc", options =>
OnTicketReceived the Principal Identity is populated with claims, sub, name and a few others. User shows as authenticated. However, OnRedirectToIdentityProvider keeps firing in a loop. If you watch the browser, you see the code_challenge value constantly changing. Not sure that's an indicate or anything other than I'm stuck in an infinite loop. My first question, how can we enable some type of authentication logging to try and determine what is causing a problem with the asp.Net core Identity code? This has been a nuisance for a long time. At the very least we should be able to implement logging or debugging to try and determine why it's getting stuck in a loop and continually redirects. I just switched to trying IE 11 & Edge and sign in, get redirected back to the Signin-oidc link and I see a correlation failed message on the page. (I'm looking into that now.)
The text was updated successfully, but these errors were encountered:
Think I found my issue. But still, leaving this open to try and determine how to debug or log this I had to define options.SignInScheme.
.AddOpenIdConnect("oidc", options =>
{
options.Authority = "https://localhost/identitycore";
options.SignInScheme = "Cookies";
I consider this a bug in functionality as there should never get into an infinite loop. I've tried this question with IDS 4 team but they don't respond well. I've got a base asp.net core 3.1 application, trying to integrate it with Identity Server 4. Login page works, user gets authenticated. I've added code for the event handlers in
.AddOpenIdConnect("oidc", options =>
OnTicketReceived the Principal Identity is populated with claims, sub, name and a few others. User shows as authenticated. However, OnRedirectToIdentityProvider keeps firing in a loop. If you watch the browser, you see the code_challenge value constantly changing. Not sure that's an indicate or anything other than I'm stuck in an infinite loop. My first question, how can we enable some type of authentication logging to try and determine what is causing a problem with the asp.Net core Identity code? This has been a nuisance for a long time. At the very least we should be able to implement logging or debugging to try and determine why it's getting stuck in a loop and continually redirects. I just switched to trying IE 11 & Edge and sign in, get redirected back to the Signin-oidc link and I see a correlation failed message on the page. (I'm looking into that now.)
The text was updated successfully, but these errors were encountered: