Say Company X is using Google Workspace (to provide corporate email, calendar, etc). Is it possible for devs to use their Google Workspace account for gerrit authentication? How?
You need the client id, secret password and to set up the redirect URIs. Enable being able to access full name and email. See https://developers.google.com/identity/openid-connect/openid-connect
The Authorized Redirect URI should be
And maybe add the following?
Find the plugin docs here: https://github.com/davido/gerrit-oauth-provider, and copy the pre-built binary from here: https://github.com/davido/gerrit-oauth-provider/releases
-James M
On Wednesday, March 29, 2023 at 10:13:28 PM UTC-6 James Muir wrote:Say Company X is using Google Workspace (to provide corporate email, calendar, etc). Is it possible for devs to use their Google Workspace account for gerrit authentication? How?I just did this and wrote down the steps - I think they are fairly complete. Hopefully this helps:Set Up OAuth2 with GoogleEnable OAuth in Google Cloud:You need the client id, secret password and to set up the redirect URIs. Enable being able to access full name and email. See https://developers.google.com/identity/openid-connect/openid-connect