{"action":"created","issue":{"url":"https://api.github.com/repos/dissemin/dissemin/issues/321","repository_url":"https://api.github.com/repos/dissemin/dissemin","labels_url":"https://api.github.com/repos/dissemin/dissemin/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/dissemin/dissemin/issues/321/comments","events_url":"https://api.github.com/repos/dissemin/dissemin/issues/321/events","html_url":"https://github.com/dissemin/dissemin/issues/321","id":182996903,"number":321,"title":"Impossible to log out and log back in as a different user","user":{"login":"a3nm","id":843551,"avatar_url":"https://avatars.githubusercontent.com/u/843551?v=3","gravatar_id":"","url":"https://api.github.com/users/a3nm","html_url":"https://github.com/a3nm","followers_url":"https://api.github.com/users/a3nm/followers","following_url":"https://api.github.com/users/a3nm/following{/other_user}","gists_url":"https://api.github.com/users/a3nm/gists{/gist_id}","starred_url":"https://api.github.com/users/a3nm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a3nm/subscriptions","organizations_url":"https://api.github.com/users/a3nm/orgs","repos_url":"https://api.github.com/users/a3nm/repos","events_url":"https://api.github.com/users/a3nm/events{/privacy}","received_events_url":"https://api.github.com/users/a3nm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-14T08:54:36Z","updated_at":"2016-10-14T11:04:58Z","closed_at":null,"body":"If I log out of Dissemin, and then lock back in by clicking on \"Log in\" on http://dissem.in/accounts/login/?next=/ then I am automatically logged in as myself (without going via the ORCID website). That's very nice, but it would be problematic if I was trying to log in as someone else. I can solve this by manually deleting cookies, but the regular user cannot.\r\n\r\nIs this intended behavior? If yes, what about adding a button \"not [NAME]\" at the top right to log out (and redirect to the login page) and really forget about the previous login? \r\n\r\n(EDIT: you need to clear the ORCID cookies, not the Dissemin ones, so maybe this is ORCID's fault. I don't know whether it can be remedied by calling something else to log out \"for real\" or log in \"from scratch\".)"},"comment":{"url":"https://api.github.com/repos/dissemin/dissemin/issues/comments/253771502","html_url":"https://github.com/dissemin/dissemin/issues/321#issuecomment-253771502","issue_url":"https://api.github.com/repos/dissemin/dissemin/issues/321","id":253771502,"user":{"login":"wetneb","id":309908,"avatar_url":"https://avatars.githubusercontent.com/u/309908?v=3","gravatar_id":"","url":"https://api.github.com/users/wetneb","html_url":"https://github.com/wetneb","followers_url":"https://api.github.com/users/wetneb/followers","following_url":"https://api.github.com/users/wetneb/following{/other_user}","gists_url":"https://api.github.com/users/wetneb/gists{/gist_id}","starred_url":"https://api.github.com/users/wetneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wetneb/subscriptions","organizations_url":"https://api.github.com/users/wetneb/orgs","repos_url":"https://api.github.com/users/wetneb/repos","events_url":"https://api.github.com/users/wetneb/events{/privacy}","received_events_url":"https://api.github.com/users/wetneb/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T11:04:58Z","updated_at":"2016-10-14T11:04:58Z","body":"@a3nm: to log in as a different user, you would need to go to http://orcid.org/, logout there, and then login again from dissemin.\r\nBut it should be possible to log users out of ORCID when logging them out of dissemin. (At least I remember it's possible with CAS. Not sure about OAuth.)"}}
{"actor":{"display_login":"wetneb"}}