Setting the LoginPath not working int ASP.NET Core 2.0 #1414
Comments
How is the challenge triggering? Is it just via [Authorize]? Can you show us all your config? |
@justin-ruffin 's suggestion worked for me |
Where is that stated in the documentation? |
Why does the order affect behavior? |
Hi I still facing this issue even after placing ConfigureApplicationCookie after AddDefaultIdentity. Here is my ConfigureServices:
Forgot to mention that I am using ASP.NET Core 2.1.1 |
Hi, anyone could do it with ASP.NET IdentityServer4? I have set it after adding Identity and even after IdentityServer configuration (I also tried before too), and removed the
EDIT: Founded the solution from IdentityServer's documentation. For those who search for it later:
|
After setting this "/Account/Login?RedirectUrl=%2F" is being used. I can manually go to the login page and login. Is there another options I need to set now? I can see that it is using ReturnUrlParameter and ExpireTimeSpan.
The text was updated successfully, but these errors were encountered: