-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
To build the plugin against 2.10 API, branch stable-2.10
must be used. See build.md for build instructions.
To obtain client-id and client-secret for Google OAuth, go to Google Developers Console:
-
Create a project
-
Go inside the created project
-
In "APIs & auth"/"Credentials" select "Create new Client ID" and create Client ID for a Web application
-
Enter additional information about the project, which will be presented to user during the authentication process
-
Specify authorized redirect URL:
<canonical-web-uri-of-gerrit>/oauth
After the final step, the page will show generated client id and secret.
To obtain client-id and client-secret for GitHub OAuth, go to Applications settings in your GitHub account:
-
Select "Register new application" and enter information about the application.
Note that it is important that authorization callback URL points to
<canonical-web-uri-of-gerrit>/oauth
.
After application is registered, the page will show generated client id and secret.