
User16455543062308508348 (Customer) asked a question.
I am trying to use SSO with an OpenID appliciation I have created in Okta but I am getting this error -
Not sure if anyone has seen this or has any clue as to what may be happening. I followed the Okta Python Flask app creation guide and everything else seems to be functioning normally.

Hello @User16455543062308508348 (Customer)
Thanks for posting.
Using the URL of the form https://org.okta.com/oauth2/default/v1/authorize requires an additional paid feature of API Access Management which is used for custom authorization servers.
Instead use the URL https://org.okta.com/oauth2/v1/authorize to access the default authorization server for Okta without API Access Management.
More information can be found here:
https://support.okta.com/help/s/article/400-error-on-authentication-to-Okta-using-OIDC?language=en_US
Let us know if this helps you.
Daniela Chavarria.
Okta Inc.
Hi Daniela,
Thanks for the response but when I change my URL to that I instead get "Access token is invalid" when the page tries to complete the auth cycle
Hi Gabriel Centeno,
What is the solution for this. Can you please post it here?
Hi @CarlosS.35140 (Customer) ,
The issue was as Daniela stated above, that my org does not have the higher tier paid plan for authorization through Okta as is described in the documentation for OpenID Connect. The code and the URLs were correct but they cannot be used without the paid feature.