{"action":"created","comment":{"url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments/190574395","pull_request_review_id":122977850,"id":190574395,"diff_hunk":"@@ -84,9 +92,16 @@ export function* setupSession(\n     const { authType } = auth;\n     if (\n       authType != \"anonymous\" &&\n-      (!userId || !userId.startsWith(authType + \":\"))\n+      (!userId ||\n+        (!userId.startsWith(authType + \":\") &&\n+          // If the authType is openid, the userId doesn't start with \"openid:\" but \"auth0:\".\n+          (authType.startsWith(\"openid-\") && !userId.startsWith(\"auth0:\"))))","path":"src/sagas/session.js","position":31,"original_position":31,"commit_id":"f0f634dbc8b4bc7a308a45c6ba27fc2d681ddf15","original_commit_id":"f0f634dbc8b4bc7a308a45c6ba27fc2d681ddf15","user":{"login":"magopian","id":167767,"avatar_url":"https://avatars1.githubusercontent.com/u/167767?v=4","gravatar_id":"","url":"https://api.github.com/users/magopian","html_url":"https://github.com/magopian","followers_url":"https://api.github.com/users/magopian/followers","following_url":"https://api.github.com/users/magopian/following{/other_user}","gists_url":"https://api.github.com/users/magopian/gists{/gist_id}","starred_url":"https://api.github.com/users/magopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magopian/subscriptions","organizations_url":"https://api.github.com/users/magopian/orgs","repos_url":"https://api.github.com/users/magopian/repos","events_url":"https://api.github.com/users/magopian/events{/privacy}","received_events_url":"https://api.github.com/users/magopian/received_events","type":"User","site_admin":false},"body":"seems my issue with the `auth0:` prefix was due to some configuration problem for the kinto running locally... I've fixed that (and the test)","created_at":"2018-05-24T12:55:14Z","updated_at":"2018-05-24T12:55:14Z","html_url":"https://github.com/Kinto/kinto-admin/pull/509#discussion_r190574395","pull_request_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments/190574395"},"html":{"href":"https://github.com/Kinto/kinto-admin/pull/509#discussion_r190574395"},"pull_request":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509"}},"in_reply_to_id":190148770},"pull_request":{"url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509","id":178573248,"html_url":"https://github.com/Kinto/kinto-admin/pull/509","diff_url":"https://github.com/Kinto/kinto-admin/pull/509.diff","patch_url":"https://github.com/Kinto/kinto-admin/pull/509.patch","issue_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/509","number":509,"state":"open","locked":false,"title":"Fix #460: Add OpenID connect support","user":{"login":"magopian","id":167767,"avatar_url":"https://avatars1.githubusercontent.com/u/167767?v=4","gravatar_id":"","url":"https://api.github.com/users/magopian","html_url":"https://github.com/magopian","followers_url":"https://api.github.com/users/magopian/followers","following_url":"https://api.github.com/users/magopian/following{/other_user}","gists_url":"https://api.github.com/users/magopian/gists{/gist_id}","starred_url":"https://api.github.com/users/magopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magopian/subscriptions","organizations_url":"https://api.github.com/users/magopian/orgs","repos_url":"https://api.github.com/users/magopian/repos","events_url":"https://api.github.com/users/magopian/events{/privacy}","received_events_url":"https://api.github.com/users/magopian/received_events","type":"User","site_admin":false},"body":"Fixes #460","created_at":"2018-03-30T14:45:04Z","updated_at":"2018-05-24T12:55:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96dda8f2e56fc975a86eae810a93ed29b3669b04","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509/commits","review_comments_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509/comments","review_comment_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/509/comments","statuses_url":"https://api.github.com/repos/Kinto/kinto-admin/statuses/f0f634dbc8b4bc7a308a45c6ba27fc2d681ddf15","head":{"label":"magopian:460-add-openid-connect","ref":"460-add-openid-connect","sha":"f0f634dbc8b4bc7a308a45c6ba27fc2d681ddf15","user":{"login":"magopian","id":167767,"avatar_url":"https://avatars1.githubusercontent.com/u/167767?v=4","gravatar_id":"","url":"https://api.github.com/users/magopian","html_url":"https://github.com/magopian","followers_url":"https://api.github.com/users/magopian/followers","following_url":"https://api.github.com/users/magopian/following{/other_user}","gists_url":"https://api.github.com/users/magopian/gists{/gist_id}","starred_url":"https://api.github.com/users/magopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magopian/subscriptions","organizations_url":"https://api.github.com/users/magopian/orgs","repos_url":"https://api.github.com/users/magopian/repos","events_url":"https://api.github.com/users/magopian/events{/privacy}","received_events_url":"https://api.github.com/users/magopian/received_events","type":"User","site_admin":false},"repo":{"id":53491165,"name":"kinto-admin","full_name":"magopian/kinto-admin","owner":{"login":"magopian","id":167767,"avatar_url":"https://avatars1.githubusercontent.com/u/167767?v=4","gravatar_id":"","url":"https://api.github.com/users/magopian","html_url":"https://github.com/magopian","followers_url":"https://api.github.com/users/magopian/followers","following_url":"https://api.github.com/users/magopian/following{/other_user}","gists_url":"https://api.github.com/users/magopian/gists{/gist_id}","starred_url":"https://api.github.com/users/magopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magopian/subscriptions","organizations_url":"https://api.github.com/users/magopian/orgs","repos_url":"https://api.github.com/users/magopian/repos","events_url":"https://api.github.com/users/magopian/events{/privacy}","received_events_url":"https://api.github.com/users/magopian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/magopian/kinto-admin","description":"Kinto React Administration.","fork":true,"url":"https://api.github.com/repos/magopian/kinto-admin","forks_url":"https://api.github.com/repos/magopian/kinto-admin/forks","keys_url":"https://api.github.com/repos/magopian/kinto-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magopian/kinto-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magopian/kinto-admin/teams","hooks_url":"https://api.github.com/repos/magopian/kinto-admin/hooks","issue_events_url":"https://api.github.com/repos/magopian/kinto-admin/issues/events{/number}","events_url":"https://api.github.com/repos/magopian/kinto-admin/events","assignees_url":"https://api.github.com/repos/magopian/kinto-admin/assignees{/user}","branches_url":"https://api.github.com/repos/magopian/kinto-admin/branches{/branch}","tags_url":"https://api.github.com/repos/magopian/kinto-admin/tags","blobs_url":"https://api.github.com/repos/magopian/kinto-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magopian/kinto-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magopian/kinto-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/magopian/kinto-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magopian/kinto-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/magopian/kinto-admin/languages","stargazers_url":"https://api.github.com/repos/magopian/kinto-admin/stargazers","contributors_url":"https://api.github.com/repos/magopian/kinto-admin/contributors","subscribers_url":"https://api.github.com/repos/magopian/kinto-admin/subscribers","subscription_url":"https://api.github.com/repos/magopian/kinto-admin/subscription","commits_url":"https://api.github.com/repos/magopian/kinto-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/magopian/kinto-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/magopian/kinto-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/magopian/kinto-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/magopian/kinto-admin/contents/{+path}","compare_url":"https://api.github.com/repos/magopian/kinto-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magopian/kinto-admin/merges","archive_url":"https://api.github.com/repos/magopian/kinto-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magopian/kinto-admin/downloads","issues_url":"https://api.github.com/repos/magopian/kinto-admin/issues{/number}","pulls_url":"https://api.github.com/repos/magopian/kinto-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/magopian/kinto-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/magopian/kinto-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magopian/kinto-admin/labels{/name}","releases_url":"https://api.github.com/repos/magopian/kinto-admin/releases{/id}","deployments_url":"https://api.github.com/repos/magopian/kinto-admin/deployments","created_at":"2016-03-09T11:04:07Z","updated_at":"2016-03-09T11:04:08Z","pushed_at":"2018-05-23T07:20:57Z","git_url":"git://github.com/magopian/kinto-admin.git","ssh_url":"git@github.com:magopian/kinto-admin.git","clone_url":"https://github.com/magopian/kinto-admin.git","svn_url":"https://github.com/magopian/kinto-admin","homepage":"http://kinto.github.io/kinto-admin/","size":1818,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kinto:master","ref":"master","sha":"fe922255c5a271161c192e3c4125f246c1ab4779","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars2.githubusercontent.com/u/13413813?v=4","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":47711273,"name":"kinto-admin","full_name":"Kinto/kinto-admin","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars2.githubusercontent.com/u/13413813?v=4","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto-admin","description":"Kinto Web Administration Console","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-admin","forks_url":"https://api.github.com/repos/Kinto/kinto-admin/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-admin/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-admin/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-admin/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-admin/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-admin/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-admin/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-admin/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-admin/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-admin/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-admin/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-admin/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-admin/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-admin/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-admin/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-admin/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-admin/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-admin/releases{/id}","deployments_url":"https://api.github.com/repos/Kinto/kinto-admin/deployments","created_at":"2015-12-09T18:41:15Z","updated_at":"2018-05-23T17:11:54Z","pushed_at":"2018-05-24T11:34:06Z","git_url":"git://github.com/Kinto/kinto-admin.git","ssh_url":"git@github.com:Kinto/kinto-admin.git","clone_url":"https://github.com/Kinto/kinto-admin.git","svn_url":"https://github.com/Kinto/kinto-admin","homepage":"http://kinto.github.io/kinto-admin/","size":8471,"stargazers_count":113,"watchers_count":113,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":67,"license":null,"forks":25,"open_issues":67,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509"},"html":{"href":"https://github.com/Kinto/kinto-admin/pull/509"},"issue":{"href":"https://api.github.com/repos/Kinto/kinto-admin/issues/509"},"comments":{"href":"https://api.github.com/repos/Kinto/kinto-admin/issues/509/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/509/commits"},"statuses":{"href":"https://api.github.com/repos/Kinto/kinto-admin/statuses/f0f634dbc8b4bc7a308a45c6ba27fc2d681ddf15"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"magopian"}}