Hey everyone - thanks for answering this neophyte question! Does the OKTA api support an auth type that does not require interaction? For example key+secret, or some kind of bearer token process?
We need to run something nightly that can synchronize users. I’ve found the list users call which would do nicely: Users | Okta Developer
Just not certain how to go about authorization in a server to server process (using basic cURL only) with OKTA.
using API token which you attach to a service account with elevated permissions created in Okta
using OAuth tokens which you can obtain by registering an OAuth application with client_credentials grant and granting this application specific grants/scopes
I’d really appreciate a bit of added help in finding the right documentation in your API portal.
Where can I find the endpoint documentation for the exact parameters that exchange the client id and client secret for a bearer token? e.g. For the bearer token process, post to this endpoint, with these POST body parameters.
Is there documentation somewhere that identifies what the API will respond if the bearer token has expired and needs to be renewed (for example, during a call to read users)?