Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 900 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 900 Bytes

google-login

A Jenkins plugin which lets you login to Jenkins with your Google account. Also allows you to restrict access to accounts in a given Google Apps domain.

To use this plugin, you must obtain OAuth 2.0 credentials from the Google Developers Console. These don't need to belong to a special account, or even one associated with the domain you want to restrict logins to.

Instructions to create the Client ID and Secret:

  1. Login to the Google Developers Console
  2. Create a new project
  3. Under APIs & Services -> Credentials, Create credentials, OAuth client ID
  4. The application type should be "Web Application"
  5. The authorized redirect URLs should contain ${JENKINS_ROOT_URL}/securityRealm/finishLogin
  6. Enter the created Client ID and secret in the Security Realm Configuration