Hi ,
I am getting this below error when I am making the Api call for authorization code from the postman.
Can anyone guide me what I should do to resolve this
This is what I am getting when I am making Authorization code call from Postman, But when I did the same over the browser I was able to log in and then get back to the callback URL I had provided.
Hi @Abhishek Jaswal,
On the 1st screenshot, it looks like the error is "unauthorized_client" - there are not much details on the screenshot that is helpful on what is going on.
Not really sure which kind of authentication you are trying to perform here. You can use API token on Jira Cloud; Basic auth for REST APIs.
Hi @mogavenasan
I am doing OAUTH 2.0 3 legged authentication call
there as you can see
first we have to make an authorization call
Which I am doing in inside the Postman but above screenshots were the errors that I am getting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hah, thanks for the information. The first step is to direct the user to the authorization URL, please share with us what is the request and it's response? You might want to remove any sensitive data on the request and response.
We should be looking for if the request is correctly configured as per the documentation and also what is the response you are getting.
Moreover, the authorization URL will need redirect_uri, technically an URL to your own app. How are you implementing this via the Postman?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have resolved this issue thanks
for postman the redirect url is : https://oauth.pstmn.io/v1/callback
this same url you have to give under authorization in your jira app
auth uri is: https://auth.atlassian.com/authorize?audience=api.atlassian.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Abhishek Jaswal @FAsmani did you figure out how to call the authorization code api call of jira api using the postman?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Abhishek Jaswal hii my friend
i have the same problem when i want to test the authorization uri with postman he give me 200 OK request but he don't give me the authorization code !!!
i really need help if there is anyone here can help me please !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.