When I am trying to generate Access token from the refresh token API on my local host using Auth 2.0 (client id and client secret) it always returns 401 Unauthorized
I used this documentation to implement the 2.0 Auth ( https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/ ) and then I used the question in the FQA part (
and it fails.
Curl request :
curl --request POST \ --url 'https://auth.atlassian.com/oauth/token' \ --header 'Content-Type: application/json' \ --data '{ "grant_type": "refresh_token", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "refresh_token": "YOUR_REFRESH_TOKEN" }'
Response :
{"error":"access_denied","error_description":"Unauthorized"}
Any idea how to get this issue solved please ?
Dear @Ebrahim Shakhatreh
the linked article says, that this functionality is in beta. I recommend to follow ACJIRA-1588 and contact the developers directly.
Probably helpful: 3LO and user revoking access and How to implement OAuth 2 (3LO)
so long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.