Postman & auth.atlassian.com/authorize

Hi,
I’m trying to use https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/ and i trying it with Postman.
When i use as Postman Authorization Oauth2 with all params setted as asked by the doc, I get the auth token but the call to https://**myproject**.atlassian.net/rest/api/3/user gives to me
Encountered a 401 - Unauthorized error while loading this page..

To understand why, I tried to scompose the call so I started from first REST call: Direct the user to the authorization URL to get an authorization code
But in this case i got this issue: JavaScript is disabled

These are the params of the call to: https://auth.atlassian.com/authorize

?audience=api.atlassian.com
&client_id=<myclientID>
&scope=read%3Ajira-user%20read%3Ajira-work
&redirect_uri=https%3A%2F%2Foauth.pstmn.io%2Fv1%2Fcallback
&state=xyz
&response_type=code
&prompt=consent

Someone can explain to me because this test don’t works.

Thanks

Stefano G.

2 Likes