I am able to access JIRA REST API via POSTMAN using basic authentication by generating API token, and getting the response. However the same, I could not achieve using OAuth2.0 authentication. Cold please someone guide me on this.
You need to provide the client_id, secret and callback URL as a JSON body that is sent to an authorization server.
The process is explained here with a step-by-step guide on how to achieve it. So on postman, you should set the URL to get the code as the callback URL and include the above as the body that's sent as a GET request.
Allow the authentication and use the code returned with a newly created JSON body of client_id, secret, code and redirect_url as well as grant type to make a POST request to the token URL which gives you the access token needed to make the subsequent requests.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.