Hi, Can you please help me to generate the api token using python app using the client credentials

Hi, Can you please help me to generate the api token using python app using the client credentials. So that we can directly use the api token that is generated in okta app and use that token in our python code.

Hi!

Are you referring to Manage Okta API tokens | Okta Classic Engine ? Need some more information to help you out.

Thanks!

Yes. I need to know how to generate the api token

I’m not sure I follow what you are attempting to do.

It is only possible to generate an Okta API token within the Admin Console, so there is no way to generate it programmatically via API.

If you are looking to get a token that can be used against Okta’s API endpoints, what may be a better fit for you would be to implement OAuth for Okta for Service apps, as documented here: Implement OAuth for Okta with a service app | Okta Developer. If this is your use case, you can look to use our Python MGMT SDK which is able to handle requesting these OAuth tokens and then making the API calls against Okta’s endpoints

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.