I am building an internal flask app where I need to connect via Okta and I am using the OpenID connect along with OAuth 2.0
I am noticing that I receive the authorization_code correctly when using the v1/authorize endpoint.
However when I call the /v1/token endpoint which includes the audience parameter (set to client_id) , the access_token which is generated changes the audience to be the issuerURL.
I am not understanding why that happens. Anyone here encountered a similar issue?