{"action":"created","issue":{"url":"https://api.github.com/repos/liamcurry/passport-steam/issues/31","repository_url":"https://api.github.com/repos/liamcurry/passport-steam","labels_url":"https://api.github.com/repos/liamcurry/passport-steam/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/liamcurry/passport-steam/issues/31/comments","events_url":"https://api.github.com/repos/liamcurry/passport-steam/issues/31/events","html_url":"https://github.com/liamcurry/passport-steam/issues/31","id":144031628,"number":31,"title":"Failed to discover OP endpoint URL","user":{"login":"WeeSkilz","id":5833095,"avatar_url":"https://avatars.githubusercontent.com/u/5833095?v=3","gravatar_id":"","url":"https://api.github.com/users/WeeSkilz","html_url":"https://github.com/WeeSkilz","followers_url":"https://api.github.com/users/WeeSkilz/followers","following_url":"https://api.github.com/users/WeeSkilz/following{/other_user}","gists_url":"https://api.github.com/users/WeeSkilz/gists{/gist_id}","starred_url":"https://api.github.com/users/WeeSkilz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeeSkilz/subscriptions","organizations_url":"https://api.github.com/users/WeeSkilz/orgs","repos_url":"https://api.github.com/users/WeeSkilz/repos","events_url":"https://api.github.com/users/WeeSkilz/events{/privacy}","received_events_url":"https://api.github.com/users/WeeSkilz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-28T17:24:48Z","updated_at":"2016-03-29T10:09:35Z","closed_at":null,"body":"Using the recommended code\r\n\r\n```js\r\npassport.use(new SteamStrategy({\r\n    returnURL: 'http://mysite.com/auth/steam/return',\r\n    realm: 'http://mysite.com/',\r\n    apiKey: 'my key'\r\n  },\r\netc.\r\n```\r\n\r\n```js\r\napp.use('/auth/steam',\r\n  passport.authenticate('steam', { successRedirect: '/',\r\n    failureRedirect: '/error' })\r\n  );\r\n\r\napp.use('/auth/steam/return',\r\n  passport.authenticate('steam', {failureRedirect: '/404' }),\r\n    function(req, res) {\r\n      res.redirect('/');\r\n    }\r\n  );\r\n```\r\n\r\nError: `Failed to discover OP endpoint URL (message: No providers found for the given identifier)`\r\n\r\nOccasionally the site will progress past this stage however, resulting in the next error:\r\n\r\n`Failed to verify assertion (message: No OpenID provider was discovered for the asserted claimed identifier)`\r\n\r\nI tried the solution in #27 but I couldn't get it to work. Has anyone gained any further understanding on this issue?\r\n\r\nTo add to this, this has been working in my app for 8 months or so, none of the code has been changed."},"comment":{"url":"https://api.github.com/repos/liamcurry/passport-steam/issues/comments/202819482","html_url":"https://github.com/liamcurry/passport-steam/issues/31#issuecomment-202819482","issue_url":"https://api.github.com/repos/liamcurry/passport-steam/issues/31","id":202819482,"user":{"login":"mnzt","id":10098811,"avatar_url":"https://avatars.githubusercontent.com/u/10098811?v=3","gravatar_id":"","url":"https://api.github.com/users/mnzt","html_url":"https://github.com/mnzt","followers_url":"https://api.github.com/users/mnzt/followers","following_url":"https://api.github.com/users/mnzt/following{/other_user}","gists_url":"https://api.github.com/users/mnzt/gists{/gist_id}","starred_url":"https://api.github.com/users/mnzt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnzt/subscriptions","organizations_url":"https://api.github.com/users/mnzt/orgs","repos_url":"https://api.github.com/users/mnzt/repos","events_url":"https://api.github.com/users/mnzt/events{/privacy}","received_events_url":"https://api.github.com/users/mnzt/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T10:09:35Z","updated_at":"2016-03-29T10:09:35Z","body":"Also, are you reverse proxying through NGINX or such?"}}