Identityserver4: Bad Request - Request Too Long - Http Error 400

Created on 13 Sep 2017  路  8Comments  路  Source: IdentityServer/IdentityServer4

Hi,

Bad Request - Request Too Long - Http Error 400

Have you got answer, me too face this same issue, my sso proxy developed by asp.net core 1.1 and few client applications also developed by core 1.1 it's working fine, if i try to implement 4.5.2 developed client app i faced Bad Request - Request Too Long Error, have any idea please let me know

My Response URI:

http://localhost:4000/connect/authorize?client_id=devtest&redirect_uri=http%3a%2f%2flocalhost%3a4002%2fsignin-oidc&response_mode=form_post&response_type=id_token+code&scope=openid+profile&state=OpenIdConnect.AuthenticationProperties%3dO3LnGgSMQdDkOZI9AxWTqT9183vBYw7YcEPAoRENX5Kg0zp6Qr4MBOI96fJ2rOFX64ka4S7zPwjezWfTZz6J7OQ_D-_eHbYSOamRdV8_BoRghBopcmwGXdGTKRuPTxilO9p3exS5NL6AjeydBZD-5o9eJxR_x46r43jAwvnN0TwjwUq-i9KJ2HpxbM-lTEloQ6pXo-FVhQoBTEdJJTHgmqeuH80l5E_0hlLGFb0wg5E&nonce=636409049642654741.MzE5YWJkOWQtMTAyMy00YTcxLWExMjYtNTI2YjA2NWI0ZmFmYmY4Njc2MDEtNWY3Ni00NjdiLWI5ZjctMTE1MTQ1YTRiOGQ5

question

Most helpful comment

All 8 comments

Can share the config file? Make sure the RedirectUris (Client config) and RedirectUrl (OpenIdConnectAuthentication options) ends with '/' in the configuration.

RedirectUris = { 'http://localhost:4002/' },

Try that first.

@rizamarhaban : Thanks lot it's working :)

So we can close this now?

@brockallen Please close this issue :)

@rizamarhaban
while(true)
{
Console.WriteLine("Thank you very much");
}

@santhudr probably figured this out already but delete your cookies after the above fix

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.

Was this page helpful?
0 / 5 - 0 ratings