{"action":"created","issue":{"url":"https://api.github.com/repos/sandric/disqus_rails/issues/2","repository_url":"https://api.github.com/repos/sandric/disqus_rails","labels_url":"https://api.github.com/repos/sandric/disqus_rails/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sandric/disqus_rails/issues/2/comments","events_url":"https://api.github.com/repos/sandric/disqus_rails/issues/2/events","html_url":"https://github.com/sandric/disqus_rails/issues/2","id":32837252,"number":2,"title":"SSO Not Working","user":{"login":"jonahbron","id":607976,"avatar_url":"https://avatars.githubusercontent.com/u/607976?v=3","gravatar_id":"","url":"https://api.github.com/users/jonahbron","html_url":"https://github.com/jonahbron","followers_url":"https://api.github.com/users/jonahbron/followers","following_url":"https://api.github.com/users/jonahbron/following{/other_user}","gists_url":"https://api.github.com/users/jonahbron/gists{/gist_id}","starred_url":"https://api.github.com/users/jonahbron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonahbron/subscriptions","organizations_url":"https://api.github.com/users/jonahbron/orgs","repos_url":"https://api.github.com/users/jonahbron/repos","events_url":"https://api.github.com/users/jonahbron/events{/privacy}","received_events_url":"https://api.github.com/users/jonahbron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-05-05T19:28:00Z","updated_at":"2016-05-27T12:26:00Z","closed_at":null,"body":"I'm using Single-Sign-On with the `disqus_rails` gem, and have it configured properly, but the Disqus thread still shows as though the user is logged-out.  I've whitelisted the proper domains in my Disqus account, added debugged the encoded and encrypted data that the gem produces (and it's valid), but the thread still doesn't show up correctly.  Any idea on what might be the problem?"},"comment":{"url":"https://api.github.com/repos/sandric/disqus_rails/issues/comments/222133407","html_url":"https://github.com/sandric/disqus_rails/issues/2#issuecomment-222133407","issue_url":"https://api.github.com/repos/sandric/disqus_rails/issues/2","id":222133407,"user":{"login":"sushil10018","id":4936101,"avatar_url":"https://avatars.githubusercontent.com/u/4936101?v=3","gravatar_id":"","url":"https://api.github.com/users/sushil10018","html_url":"https://github.com/sushil10018","followers_url":"https://api.github.com/users/sushil10018/followers","following_url":"https://api.github.com/users/sushil10018/following{/other_user}","gists_url":"https://api.github.com/users/sushil10018/gists{/gist_id}","starred_url":"https://api.github.com/users/sushil10018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushil10018/subscriptions","organizations_url":"https://api.github.com/users/sushil10018/orgs","repos_url":"https://api.github.com/users/sushil10018/repos","events_url":"https://api.github.com/users/sushil10018/events{/privacy}","received_events_url":"https://api.github.com/users/sushil10018/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T12:25:59Z","updated_at":"2016-05-27T12:25:59Z","body":"As mentioned in the documentation here: https://help.disqus.com/customer/portal/articles/236206-integrating-single-sign-on#configure-domain\r\n\r\n```javascript\r\nthis.sso = {\r\n      name:   \"SampleNews\",\r\n      button:  \"http://example.com/images/samplenews.gif\",\r\n      icon:     \"http://example.com/favicon.png\",\r\n      url:        \"http://example.com/login/\",\r\n      logout:  \"http://example.com/logout/\",\r\n      width:   \"800\",\r\n      height:  \"400\"\r\n};\r\n```\r\nBut, it seems that in our case, within `disqus_rails.js.coffee:37` the value was set as\r\n```\r\nthis.sso = that.sso\r\n# where the value seems to be 'true' only instead of key value pair.\r\n``` \r\n\r\nI'm still digging through the issue, will hopefully try a pull-request once the issue gets fixed."}}
{"actor":{"display_login":"sushil10018"}}