<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
0D54z000084kj12CAAOkta Classic EngineAuthenticationAnswered2024-05-07T05:00:11.000Z2022-09-08T16:31:54.000Z2022-09-09T20:04:40.000Z

JohnS.87891 (Customer) asked a question.

Getting error when using non-default authentication server with iOS SDK

I am trying to switch our authentication server that we use with the iOS SDK. Our old endpoint uses

 

/oauth2/default

and our new endpoint is using

 

/oauth2/defr04s5kER0q1mjo5x7

 

This endpoint works for our web authentication, but not our iOS app. Does anything else need to be changed?

 

▿ OktaError

 ▿ serverRespondedWithError : OktaAPIErrorResponse

  ▿ errorCode : Optional<String>

   - some : "E0000004"

  ▿ errorSummary : Optional<String>

   - some : "Authentication failed"

  ▿ errorLink : Optional<String>

   - some : "E0000004"

  ▿ errorId : Optional<String>

  ▿ errorCauses : Optional<Array<ErrorCause>>

   - some : 0 elements


  • Hi @JohnS.87891 (Customer)​ , Thank you for reaching out to the Okta Community!

     

    I was looking into this and noticed that you currently have a ticket open with Support.  

    Please continue the discussion with our Support Engineer via the ticket and when you have the solution, consider posting it here if appropriate to help others that might face the same. 

     

    Have a great rest of the day!

    --------------------------------

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Expand Post
This question is closed.
Loading
Getting error when using non-default authentication server with iOS SDK