First of all, I’d like to ask if it is possible to fetch an API access token in a SSWS format?
My idea is to:
Fetch API access token through the oauth2/default/v1/token endpoint.
Create an IdP, using the api/v1/idps endpoint.(create IdP doc)
However, when I dug deeper in the documentation, it seems that for the second endpoint, a Bearer token is not applicable(the first endpoint returns a Bearer token). In other words, I’d need a SSWS(which is not recommended by Okta, but for my purposes it is not such a problem).
So my question is if it’s possible to fetch an API access token in a SSWS format programmatically?
Thanks in advance and correct me if my understanding is somewhat wrong.
Thanks for the fast reply and for the hints provided!
As you’ve mentioned, I was able to create IdP programmatically using a bearer token.
I’d like to point the Okta docs and steps for implementing this approach:
Prerequisites: