{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2941","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2941/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2941/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2941/events","html_url":"https://github.com/zestedesavoir/zds-site/issues/2941","id":96552142,"number":2941,"title":"Authentification Google | Error: redirect_uri_mismatch","user":{"login":"Oza94","id":6735336,"avatar_url":"https://avatars.githubusercontent.com/u/6735336?v=3","gravatar_id":"","url":"https://api.github.com/users/Oza94","html_url":"https://github.com/Oza94","followers_url":"https://api.github.com/users/Oza94/followers","following_url":"https://api.github.com/users/Oza94/following{/other_user}","gists_url":"https://api.github.com/users/Oza94/gists{/gist_id}","starred_url":"https://api.github.com/users/Oza94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oza94/subscriptions","organizations_url":"https://api.github.com/users/Oza94/orgs","repos_url":"https://api.github.com/users/Oza94/repos","events_url":"https://api.github.com/users/Oza94/events{/privacy}","received_events_url":"https://api.github.com/users/Oza94/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/Back","name":"Back","color":"207de5"},{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/BUG","name":"BUG","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-22T12:00:33Z","updated_at":"2015-09-02T13:01:55Z","closed_at":"2015-09-02T13:00:34Z","body":"Hello, je ne me suis pas connecté depuis quelques semaine sur ZDS. Je me suis inscrit via Google. Au moment de me connecter via Google j'ai cette jolie erreur d'OAuth2 Google:\r\n\r\nUrl:\r\n```\r\nhttps://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile&state=o95qBAskyaqaiV98MWDlr7kZGljgN3Hn&redirect_uri=https://zestedesavoir.com/complete/google-oauth2/&response_type=code&client_id=1091336687263-70sdbncjavqc9n0ub88or5dec9nlb7ak.apps.googleusercontent.com\r\n```\r\n\r\nDétails de la requête:\r\n```\r\nThe redirect URI in the request: https://zestedesavoir.com/complete/google-oauth2/ did not match a registered redirect URI.\r\n\r\nresponse_type=code\r\nscope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile\r\nredirect_uri=https://zestedesavoir.com/complete/google-oauth2/\r\nstate=o95qBAskyaqaiV98MWDlr7kZGljgN3Hn\r\nclient_id=1091336687263-70sdbncjavqc9n0ub88or5dec9nlb7ak.apps.googleusercontent.com\r\n```\r\n\r\nAprès reset password via email je peux me connecter.\r\n\r\nVous pouvez régler ce genre d'erreur directement via la console Google sans déploiement en ajoutant la redirect_uri `https://zestedesavoir.com/complete/google-oauth2/`, après je ne connais pas les détails du problème et je pense que la solution est moins naïve ^^"},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/137066058","html_url":"https://github.com/zestedesavoir/zds-site/issues/2941#issuecomment-137066058","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2941","id":137066058,"user":{"login":"DevHugo","id":6099338,"avatar_url":"https://avatars.githubusercontent.com/u/6099338?v=3","gravatar_id":"","url":"https://api.github.com/users/DevHugo","html_url":"https://github.com/DevHugo","followers_url":"https://api.github.com/users/DevHugo/followers","following_url":"https://api.github.com/users/DevHugo/following{/other_user}","gists_url":"https://api.github.com/users/DevHugo/gists{/gist_id}","starred_url":"https://api.github.com/users/DevHugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevHugo/subscriptions","organizations_url":"https://api.github.com/users/DevHugo/orgs","repos_url":"https://api.github.com/users/DevHugo/repos","events_url":"https://api.github.com/users/DevHugo/events{/privacy}","received_events_url":"https://api.github.com/users/DevHugo/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T13:01:55Z","updated_at":"2015-09-02T13:01:55Z","body":"Bravo, tu peux faire la même chose sur Facebook maintenant :P."}}