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

brucify August 10, 2015

Hello,

This is a question about the plugin OpenID Authentication for JIRA

I got this error when I try to add a new provider URL ("http://myprovider.org"):


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

 

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

{"issuer":"https:\/\/myprovider.org","authorization_endpoint":"https:\/\/myprovider.org\/oauth\/authorize","token_endpoint":"https:\/\/myprovider.org\/oauth\/token","userinfo_endpoint":"https:\/\/myprovider.org\/oauth\/me","jwks_uri":"https:\/\/myprovider.org\/.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 http://myjira.org).  

Working:

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.

Bruce

1 answer

1 accepted

0 votes
Answer accepted
brucify October 2, 2015

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