Getting 401 after using access token

Hi gourav, it looks like you’re using OAuth for Okta API with a custom authorization server but the Okta API scopes are not available for custom authorization servers.

According to Implement OAuth for Okta | Okta Developer :

Only the Org Authorization Server can mint access tokens that contain Okta API scopes.