-
Notifications
You must be signed in to change notification settings - Fork 4k
Received HTTP404 (resource has been removed) during redirection from IDSRV4 to MVC App #1264
Comments
No logs? Also, how did you get the redirect URI/path of ~/signin-microsoft -- I assume you configured some middleware that way? |
@brockallen i got the redirect URL from IDSRV4 log. in apps.dev.microsoft.com portal, i have the "signin-microsoft" indicated in the redirect url Allow Implicit Flow: Enabled I have this in my IDSRV4 "Configure()" method app.UseMicrosoftAccountAuthentication(new MicrosoftAccountOptions() is it ok if i send u the logs via e-mail? thanks |
Hmm, I don't know then. Sounds like this might be more of a Microsoft question and not really anything related to IdentityServer. I'd try to build a stand-alone app that uses this to connect to AAD and then repro it. Once you do that, send it to Microsoft.
No, sorry -- we don't offer free support via email. |
thanks @brockallen. i will try as what you suggested. |
I bet there's an exception in the MW on the redirect back from the IdP to your app and it's being suppressed or not handled in some way. |
Any update on the issue? closing for now - feel free to re-open if it needs further discussion. |
@leastprivilege sorry, it took me a long time to update on this. i believe its a non-IS4 issue. it seems related to IIS max query string length (2048). |
This is a problem with the middleware. I think it's just due to too much state being passed around. IS4 already suggest a fix for this though: http://docs.identityserver.io/en/latest/topics/signin_external_providers.html#state-url-length-and-isecuredataformat |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
I am working on an ASP.net core Web API, and MVC applications. Using IdentityServer4 as the authentication/STS. All these applications are deployed in Azure App Service.
I configured IDSRV4 to authenticate users using Microsoft (AAD) and Google authentication (hybrid flow). It was working fine before but recently I noticed after authenticating from Microsoft (AAD), I encountered the error below
Looking at the browser's console log it shows an HTTP 404 was received.
IDSRV4 log snippet
However, if i browse to that URL from the address bar (by copying then paste and go), I am successfully redirected to my MVC App.
By the way Google authentication works fine (redirected successfully to MVC app after authentication).
Appreciate any inputs and suggestions on this. Thanks.
The text was updated successfully, but these errors were encountered: