Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to complete 3legged oauth login and consent flow.

Sharon Alex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 10, 2019

When trying to get the code parameter by hitting the authorize endoint     https://auth.atlassian.com/authorize?audience=api.atlassian.com&client_id=xxxxxxx&scope=read%3Ajira-user%20read%3Ajira-work&redirect_uri=xxxx%2Foauth2%2Fcallback&state=${YOUR_USER_BOUND_VALUE}&response_type=code&prompt=consent

The page for consent appears. And on clicking the accept button, it lands on https://accounts.atlassian.com/decision webpage with a message "unauthorized". Thus breaking the flow. (as opposed to landing on my redirect uri with the code param)

FYI, previously I have been able to successfully login, give consent ,complete the flow, acquire access tokens and consume the Rest APIs. Not sure why it breaks now. Can you please help. Thanks.

imageJira.PNG

 

1 answer

0 votes
sreuter
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2019

@Sharon Alex Thanks for reaching out - just seeing this now unfortunately. This has been fixed tonight, so it's safe to use the auth.atlassian.com to start the flow as you described. We'll remove the support for starting the flow with accounts.atlassian.com (fix was the previous fix to this, not anymore though) towards the end of this week.

Please let me know should you still see any issues.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events