Hi All,
We were using gitlab version 8.10 and suddenly faced google authentication error (if we logged by using google getting 500 error stating google oauth2 error).We have tried by gitlab version migration to 8.13.But still issue persists.Kindly help us to fix this and below are the log response for your reference.
root@gitlabserver:/home/git/gitlab/log# tail -f unicorn.stdout.log
“error_description” : “Code was already redeemed.”
}
I, [2016-11-08T22:17:10.936750 #46437] INFO – omniauth: (google_oauth2) Request phase initiated.
I, [2016-11-08T22:17:11.143724 #46434] INFO – omniauth: (google_oauth2) Callback phase initiated.
I, [2016-11-08T22:17:13.840062 #46434] INFO – omniauth: (google_oauth2) Callback phase initiated.
E, [2016-11-08T22:17:14.044402 #46434] ERROR – omniauth: (google_oauth2) Authentication failure! invalid_credentials: OAuth2::Error, invalid_grant: Code was already redeemed.
{
“error” : “invalid_grant”,
“error_description” : “Code was already redeemed.”
}