Okta Authorize /api/v1/authorize, give method not supported error

I am trying to use Okta /authorize endpoint to get access token. According to Okta doc, it should be easy peasy, but I am getting this error
“{"errorCode":"E0000022","errorSummary":"The endpoint does not support the provided HTTP method","errorLink":"E0000022","errorId":"oaes2WuRaxCSfWt0BkdJjyXEw","errorCauses":}”

image

This is from Okta site:

https://${yourOktaDomain}/oauth2/default/v1/authorize?client_id=0oabv6kx4qq6
h1U5l0h7&response_type=id_token token&scope=openid&redirect_uri=https%3A%2F%2Fwww.example.com&state=state-296bc9a0-a2a2-4a57-be1a-d0e2fd9bb601&nonce=foo

@Nick101

Did you happen to first try with postman?

It is better to try with that and then copy the curl and import here

That would help in troubleshooting

Cheers

Thanks Anil for responding. It seems that “Add Parameter” doesn’t behave the way it should. I do have it working in Postman. I just simply copy the whole url from postman and pasted it for the endpoint in UiPath, I got the 200 status, go figure. I guess I will have to do some adjustment in UiPath.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.