<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
0D54z00008bjuSwCAIOkta Classic EngineAuthenticationAnswered2026-06-04T17:51:35.000Z2023-01-02T11:56:22.000Z2026-06-04T17:51:35.000Z

afd68 (afd68) asked a question.

Okta 400 Bad Request GENERAL_NONSUCCESS

Hi everyone,

 

I get this error trying to set azure ad as idp in okta. When i test on Azure AD i have this message "Okta 400 Bad Request GENERAL_NONSUCCESS".

I read a lot about this error but nothing seems to work in my case.

For Microsoft the test is ok

In SAML tracer however i have this error "https://dev-example.okta.com/login/error/redirect?stateToken=02.id.xg8mmyCxYY2HYW_590uO6NhIhDHVj0r7-88MeeXc

 

Do you already have this kind of message?

 

Thank you for your help

 

Julien


  • afd68 (afd68)

    Hi @User16594883467582706479 (Customer Support Online Experience)​ 

     

    Thanks about your answer,

     

    Into my Idp Authentication Settings i changed my idP username from idpuser.email from idpuser.subjectNameId and mapped my login and email attribute with it and it's working now.

     

    Thank you very much 🙂

    Expand Post
    Selected as Best
  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @afd68 (afd68)​ 

     

    Thank you for posting on our Community page!

     

    We cannot see the actual error in SAML tracer, however, I have done some research and found this article that might be of assistance:

     

    Should it not help with your use case, I suggest opening a ticket with Support so they can dig deeper and help with a solution. 

     

    Let us know if it worked.

     

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

     

    _____________________________________________________________________________

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    _____________________________________________________________________________

     

     

    Expand Post
  • afd68 (afd68)

    Hi @User16594883467582706479 (Customer Support Online Experience)​ 

     

    Thanks about your answer,

     

    Into my Idp Authentication Settings i changed my idP username from idpuser.email from idpuser.subjectNameId and mapped my login and email attribute with it and it's working now.

     

    Thank you very much 🙂

    Expand Post
    Selected as Best
This question is closed.
Loading
Okta 400 Bad Request GENERAL_NONSUCCESS