<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AE4tliCQBOkta Classic EngineAuthenticationAnswered2025-09-30T09:00:33.000Z2024-08-07T18:30:09.000Z2024-09-19T16:28:21.000Z

0vqsd (0vqsd) asked a question.

Trying to access Org2org app but getting 400 Login failed 400: Bad Request Error Code: GENERAL_NONSUCCESS

Hi All,

 

I am trying to access the Org2org app i setup and i have been getting 400 login failed error. I've followed the SAML setup instructions. I've cross checked the issuer and it matches with what is being sent in the SAML Response. I dont see the logs on my IDP either which is weird. Can someone help me figure out the issue ? Please let me know what information you need to debug.


  • Paul S. (Okta, Inc.)

    Hello @0vqsd (0vqsd)​ Thank you for posting on our Community page!

     

    The 400 error is a common error, but 2 things come to mind with this type of configuration:

    1. Username miss-match between the 2 configurations, one application is sending a different username than that it exist in the second org.
    2. If the user does not exist and the user is created though JIT, then I would review the JIT settings and the username format is beeing sent and what it should be.

     

    Please also see a similar question below:

    https://support.okta.com/help/s/question/0D54z00007eSosiCAC/saml-20-idp-giving-400-generalnonsucess-for-new-idp-user-login?language=en_US

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
  • Paul S. (Okta, Inc.)

    Hello @0vqsd (0vqsd)​ Thank you for posting on our Community page!

     

    The 400 error is a common error, but 2 things come to mind with this type of configuration:

    1. Username miss-match between the 2 configurations, one application is sending a different username than that it exist in the second org.
    2. If the user does not exist and the user is created though JIT, then I would review the JIT settings and the username format is beeing sent and what it should be.

     

    Please also see a similar question below:

    https://support.okta.com/help/s/question/0D54z00007eSosiCAC/saml-20-idp-giving-400-generalnonsucess-for-new-idp-user-login?language=en_US

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
This question is closed.
Loading
Trying to access Org2org app but getting 400 Login failed 400: Bad Request Error Code: GENERAL_NONSUCCESS