{"action":"opened","issue":{"url":"https://api.github.com/repos/pawelniewie/social-authentication-for-atlassian/issues/2","labels_url":"https://api.github.com/repos/pawelniewie/social-authentication-for-atlassian/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/pawelniewie/social-authentication-for-atlassian/issues/2/comments","events_url":"https://api.github.com/repos/pawelniewie/social-authentication-for-atlassian/issues/2/events","html_url":"https://github.com/pawelniewie/social-authentication-for-atlassian/issues/2","id":119733362,"number":2,"title":"Plugin only valid to 443 default port","user":{"login":"is44c","id":10814190,"avatar_url":"https://avatars.githubusercontent.com/u/10814190?v=3","gravatar_id":"","url":"https://api.github.com/users/is44c","html_url":"https://github.com/is44c","followers_url":"https://api.github.com/users/is44c/followers","following_url":"https://api.github.com/users/is44c/following{/other_user}","gists_url":"https://api.github.com/users/is44c/gists{/gist_id}","starred_url":"https://api.github.com/users/is44c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is44c/subscriptions","organizations_url":"https://api.github.com/users/is44c/orgs","repos_url":"https://api.github.com/users/is44c/repos","events_url":"https://api.github.com/users/is44c/events{/privacy}","received_events_url":"https://api.github.com/users/is44c/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T14:57:07Z","updated_at":"2015-12-01T14:57:07Z","closed_at":null,"body":"For security reasons we have our provider behind another port (8443) If you try to add the port to url you get an error:\r\n\r\nThere was a SSL error when connecting to the provider: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.\r\n\r\nWhen the connection was correctly tested to another port with SSLPoke provide by Atlassian:\r\n\r\n[root@almsvr05 ~]# java SSLPoke ourxxxid.xxx.any 8443\r\nSuccessfully connected\r\n\r\nIn fact if you add the URL without port you get a discovery document missing:\r\n\r\nOpenId Connect discovery document at https://ourxxxid.xxx.any is invalid or missing.\r\n\r\nEither url parsing adding port or a field for configuration should be added to Add-on configuration for OpenID/OAuth 2.0."}}