How to implement Google Login in Jenkins?

We have a very easy steps to implement Google Login in Jenkins.

  • In Jenkins by default we have an admin user authentication enabled but we can establish the user authentication from the Global Security section.
  • We have to create users for team members and it maintains all user in its own database.
  • We can also configure Jenkins with Google login using OAuth. So, if you are leveraging Google services and already have users on it. The users can login to Jenkins and perform execution of jobs.

I am assuming that you have already installed Jenkins server and have admin user to make changes in it.

To implement Google Login, we need to go through with three easy steps:

  • Create a Google OAuth Client ID
  • Install Google Login Plugin in Jenkins
  • Configure Jenkins Setting