Hitting 401 unauthorized error, when using authorization code grant flow for custom web application which we are creating.
Below are the configuration done at our end.
- created new OAuth Client under API management. Select Authorization Code as grant type, set custom redirect URL and scope set to sp:scopes:all
- Got Authorize end point and oauth token endpoint are using /oauth/info
- Following this link - Authentication | SailPoint Developer Community , to test authorization code flow.
- Steps 1 to 5 worked, but hitting 401 error for step 6, when trying to get access token using authorization code obtained in the previous step.
Looking for help from folks who implemented this flow.
Many thanks in advance.