Hi,
I’m new with Okta and Postman, so maybe the response to my question is simple but I wasn’t able to find out how to get value of code when authorize endpoint is accessed.
I set up application:
- Sign in method: ‘OIDC - OpenID Connect’
- Application type: ‘Web Application’
In Postman request ‘{{url}}/.well-known/openid-configuration’ is returning data.
When I’m trying to access authorize endpoint, in Postman, with ‘{{url}}/oauth2/v1/authorize?response_type=code&client_id={{clientId}}&scope=openid&redirect_uri={{callbackUrl}}&state=1234’, I can’t get value of ‘code’.
In documentation, Implement authorization by grant type | Okta Developer, is mentioned that ‘code’ is returned.
Is possible to get value of ‘code’ in Postman. If yes, how?
If Postman can’t be used, how can get it in node.js?
Thanks.