<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
0D54z000071Sne6CACOkta Classic EngineAPI Access ManagementAnswered2024-04-16T09:08:20.000Z2021-06-18T11:43:22.000Z2021-06-21T13:14:15.000Z

csapa (csapa) asked a question.

Can't authenticate and get token

I making an integration in my app, that allow users to get info from their APIs protected by Okta.

 

I'm trying to understand how to get access to an API that protected by Okta. So now i'm trying to imitate this connection with my own API. I want to create access token with this instruction -> https://developer.okta.com/docs/guides/implement-oauth-for-okta/request-access-token/ But when i'm on authentication step with okta login page, i can't authorize because it says that credentials are invalid. But i use this credentials for login to Okta-dev service. What i do wrong? I need some other account? If it's yes, where? Or maybe I doing something wrong and for my task i need use some other solution? How to my integration properly?


csapa likes this.
  • User15953055057917460785 (Developer Support)

    Hello. Are you seeing any more information in your Okta logs? (Reports -> System Logs).

     

    Typically the "invalid credentials" error simply means you are entering in the wrong username or password - but if something else is going on the Okta logs will shed more light.

     

    It's possible you did not assign the user to the application you made to grant the access token.

    Expand Post
This question is closed.
Loading
Can't authenticate and get token