-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
I just upgraded Gerrit from 2.13.5 to 2.13.6, as well as the oauth-provider plugin to the same version. I ran the same init (with fix-legacy-user-id set to true) and reindex commands as always, removed everything in /cache, and restarted Gerrit. Now when I try to log in using Google I get 403 Forbidden. The logs look like this:
[2017-06-28 09:56:28,926] [HTTP-69] INFO com.google.gerrit.httpd.auth.oauth.OAuthSession : OAuth2: linking claimed identity to [USER_ID]
[2017-06-28 09:56:28,932] [HTTP-69] ERROR com.google.gerrit.httpd.auth.oauth.OAuthSession : Cannot link: google-oauth:[GOOGLE_ID] to user identity:
Claimed ID: [USER_ID] is [GOOGLE_ID]
I cleared my browser cache, but got the same results. I can't tell why the claimed ID doesn't contain the "google-oauth:" prefix. I don't know if the reindex didn't actually update something or if when I try to log in my browser is still sending the id without the prefix.
Has anyone experienced this behavior after upgrading to 2.13.6?
Metadata
Metadata
Assignees
Labels
No labels