Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Oauth 2.0 doesn't connect

I spent 15 minutes trying to respond to the answer to this question but even after pasting plain text to notepad and back again it's impossible to reply.  It keeps saying invalid HTML.  I don't see any other contact methods so, sorry, reposting with my response below the question:


Our software has been down since Microsoft turned off basic authentication recently.  We can no longer create tickets through e-mail.

We noticed that the latest version had something other than basic Authentication.  OAuth2.0.  So we updated to 8.13.1.

Working with the e-mail team we were able to complete the oAuth2.0 setup details in Jira on the Microsoft side.  However, when we go to test it just does a loop.

After clicking the test we login with the user and password and we receive a pop-up that says someone with admin rights needs to login.  We have an O365 admin login and confirm the pop-up that allows the app.  Then it reloads the Jira screen.  At this point we can do the test link again and the same thing happens.  Login/Admin Login/Allow.  It just does this loop.

Question.  There is that "redirect URL" we have registered that points to our server.  In order to complete this authentication process does Microsoft actually need to make a connection back to our server using that URL?  That wouldn't work because the DNS doesn't resolve externally and because it is not a public server.

That is the main question.  Should this process be able to be setup if our Jira server is not setup to be accessed from the Internet?  If yes, where would I find the logs containing the most accurate error messages for this process.  If no, is there another way to login to O365 so we can retrieve our IMAP e-mails and have the cases created?

Any ideas would be greatly appreciated as we are basically down.



AFTER TRYING THE STEP-BY-STEP list for Microsoft and Jira:

We verified those settings on the Microsoft side and in Jira and after login from the test link, we receive this pop-up as it returns to the Jira webpage.  It looks like it accepted the login before returning:
The connection has failed.
Check the application logs for details.
I'm not sure exactly where in the logs to find the error.

Also, to verify scope... it formatted a little strange in your instructions.

Are the asterisks included in the scope?  The brackets?  Quotes?  I'm not sure if I'm entering it right and it doesn't appear to check it for validity in the Jira configuration form.

Thank you!








2 answers

Did you ever find out which log to look in? I'm getting the same issue.


I found this - - which again just says go to the path where your logs are in. My suspicion is that Jira doesn't know which log something had been written so the messages is saying "go look in the log directory"

It shows up up atlassian-jira.log for me.

0 votes
Jack Brickey Community Leader Dec 07, 2020

Hi Paul, welcome to the Community. Sorry you are experiencing issues w/ posting. Indeed the Community anti-spam SW will often reject seemingly harmless text. Often it has to do with pasting something in which sounds like may be the case here.

With that aside, it seems to me that for your issue you might wish to work directly with Atlassian Support assuming your support is active. I would love to help but unsure I can. Others may very well chime in here shortly but I wouldn't wait given you are down. If you do reach out to support please update this post w/ your resolution.



Well, we have licenses but that link ended up here.  :-)  I couldn't find any other support options.

If someone knows where in the logs I can troubleshoot the e-mail connection issue that would be great.  It says "application logs" but I haven't found the right spot to see what it might be telling me.  Previous errors showed the error in the pop-up itself.

Also, under Scope in oAuth 2.0.  The Jira form.  If anyone knows the correct format for the Scope that would be great.  The answer I received had a lot of special characters so I just want to be sure the items entered in scope are formatted correctly.

Between the two above I hope to be able to move forward.  If anyone can help with that I'd appreciate it!

Thank you.

I just realized the link may have went to a different forum that looks like the other. So, if I ended up moving the question from a support group to a 'community' group I apologize. I was hoping the same tech would see the post. So, maybe it's the tech forum that won't allow me to reply to the original question.  I tried to start fresh clicking the "Ask the community"

Jack Brickey Community Leader Dec 07, 2020

The Commmunity forum is a user forum. I don’t know why you would be referred here from the support portal unless you are on Cloud- Free version but the tags indicate Server. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

809 views 24 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you