mO SharemO Share

Setup Duo Push Notification for Jenkins

Duo Push Notification as a 2FA method provides an additional layer of security by allowing users to APPROVE or DENY an authentication request received on their registered device. In order to enable Duo Push Notification as a 2FA method for all users, the admin needs to integrate the Jenkins application with Duo.

Step 1: Configure Duo Push Notification

  1. Sign up for a Duo account if you do not have a Duo account.

  2. Log in to the Duo Admin Panel and navigate to Applications.

  1. Click Protect an Application and locate the entry for Auth API in the applications list.

  2. Click Protect to the far right to configure the application.

  1. Get your integration key, secret key, and API hostname.

Step 2: Integrate the Duo Push application with the Jenkins application

 

  1. Navigate to the security tab of the Manage Jenkins section and click on 2FA Global Configurations.

  1. Click on the License Manager tab in the left side menu, enter the license detail, and click Validate License. Upon successful validation click on save.

  2. Navigate to the home page and scroll down till you see the Duo push notification checkbox. Check the Duo Push Notification checkbox and enter the above values in the Duo Push Notification Settings section.

  1. Enable 2FA for all users or certain groups as per your requirements and hit save.

 

Now, if any user performs login & 2FA is enabled for the respective user then 2FA will be prompted for that user.