Closed SquireOfSoftware closed 2 years ago
Nevermind I cracked it, so it turns out that you need to append scope to the body due to how Okta has implemented it:
For the future peeps, this got me talking with Okta:
token = oauth.fetch_token(token_url=f'{okta_url}/v1/token',
include_client_id=True,
client_secret=client_secret,
body="scope=customScope anotherScope")
Do you guys support Okta?
I was getting this issue and I was wondering if it was misconfiguration on the Okta side of things or if it was how I was calling Okta:
My code is: