skoruba / Duende.IdentityServer.Admin

The administration for the Duende IdentityServer and Asp.Net Core Identity ⚡
Apache License 2.0
549 stars 194 forks source link

Redirect with webauthenticator doesn't seem to work correctly #146

Open johndcollins opened 1 year ago

johndcollins commented 1 year ago

I'm using a android device to log in using PKCE I've tested with the duende demo server and this works great.

I've now deployed a Skoruba server out of the box and I'm having issues. The login works, but the redirect gives me an issue. It seems the redirect is happening server side and never makes it to the client, so something is different in the way the duende demo server does it. Anyone else having this issue?

Screenshot 2023-03-04 233250
johndcollins commented 1 year ago

If I change the code in the Login function in AccountController like this it seems to work as expected. I changed "return this.LoadingPage("Redirect", model.ReturnUrl);" to "return Redirect(model.ReturnUrl);" in line 162.

Screenshot 2023-03-05 095124