Using Postman Automation to Test API Endpoints Protected by Okta’s PKCE Flow

Hello to all.

I was trying to follow this tutorial as for some scenarios in my company we would find it super useful to be able to get an accesstoken with postman.

The problem is that when I try to get the authorizationCode in the second step by calling {{url}}/oauth2/{{{authorizationServerId}}/v1/authorize it always redirects me to the redirect_uri property page and I can’t get an HTTP 302 or the authorizationCode.

Thanks for any input :wink:

Try disable auto redirect

Thanks Nick! You saved me my life

image

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