I have created a OAuth app in okta and I’m using authorization code flow to get access token. I’m able to call all other API using access token except user types API, it returns 403 forbidden. If I use API token I can access user types API.
I get the following response when I use access token to call user types API
{
"errorCode": "E0000005",
"errorSummary": "Invalid session",
"errorLink": "E0000005",
"errorId": "oaeygU0Zcm3QjqRCnw1UmJsds",
"errorCauses": []
}
Thank you