OpenId Connect discovery document at http://mysite/.well-known/openid-configuration is invalid or missing.


This is a question about the plugin OpenID Authentication for JIRA

I got this error when I try to add a new provider URL (""):

OpenId Connect discovery document at is invalid or missing.


However, visiting http://myprovider/.well-known/openid-configuration/ on my browser gives me this JSON, which seems okay:

{"issuer":"https:\/\/","authorization_endpoint":"https:\/\/\/oauth\/authorize","token_endpoint":"https:\/\/\/oauth\/token","userinfo_endpoint":"https:\/\/\/oauth\/me","jwks_uri":"https:\/\/\/.well-known\/keys","response_types_supported":["code","id_token","token id_token","code id_token"],"subject_types_supported":["public"],"id_token_signing_alg_values_supported":["RS256"]}


Also it seems that it works on localhost (at http://localhost), but not my producton server (at  


Not working:


I am running JIRA 6.4.7 and using plugin version 2.5.2 on both.


Have been stuck for a few days. Help is much appreciated.


1 answer

1 accepted

Hi again

I have solved the problem. This is not a bug in the plugin, but a DNS misconfiguration on my server.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

771 views 2 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you