We're experiencing difficulty. Our engineers are on it. Please check status.mailgun.com for real-time updates.

Google Authentication

Article Preview

    Overview

    Mailgun provides the ability to authenticate a user via Google OAuth so long as the user that was created on Mailgun has an account registered with Google.

     

    Enabling Google Authentication within Mailgun

    We'll show you how to do this below:

    1. First, log in to the Mailgun Control Panel (if you have not already done so).
    2. Then, at the top-right corner of the page, click the Profile drop-down menu to expand its list of options.
    3. Next, click the Account option. Alternatively, you can use this direct link
    4. On the resulting page and in the Authentication section, click the Setup button for the Google Auth setting.
    5. After being redirected to the Google Auth flow, Google will ask you to confirm the email address you want to use to log in. Choose the email address that you have set up for your Mailgun account.
    6. Once finished, Google will redirect you back to the Mailgun Control Panel.

     

    Logging into Mailgun using Google Authentication

    If you've followed the steps to enable Google auth and the user you're using to log in is authenticated, then providing an email address on the login page and clicking next will automatically log you into the Mailgun app:

    Screen Shot 2022-09-12 at 9.34.32 AM.png

     

    Disabling Google Authentication within Mailgun

    We'll show you how to do this below:

    1. First, log in to the Mailgun Control Panel (if you have not already done so).
    2. Then, at the top-right corner of the page, click the Profile drop-down menu to expand its list of options.
    3. Next, click the Account option. Alternatively, you can use this direct link
    4. On the resulting page and in the Authentication section, click the Disable button for the Google Auth setting.

    Screen_Shot_2019-10-01_at_3.26.59_PM.png

     

    Enforcing Google Authentication for all account users

    If you so choose, an admin user can enforce Google Authentication for all users on an account. In order to do so, you must ensure that the admin user that is logged in already has Google Authentication enabled for their user.  We'll show you how to do this below:

    1. First, log in to the Mailgun Control Panel (if you have not already done so).
    2. Then, at the top-right corner of the page, click the Profile drop-down menu to expand its list of options.
    3. Next, click the Account option. Alternatively, you can use this direct link
    4. On the resulting page and in the Account settings section, click the Require Google button for the Force User Auth Scheme setting.

    After clicking the Require Google button, you will be presented with 2 options:

    • Clear all user sessions - This option will clear any logged-in sessions and will require users to enable Google Auth immediately
    • Allow user sessions to stay logged in - This option will allow users to continue in their current session and set up Google Auth once their session expires and they have to re-login. 

    Upon the next sign-in, all users will be directed to set up Google Authentication in order to continue to sign in.

    **It's important to note that creating or disabling a user within Google Workspace will not create or remove a user from the Mailgun system. You will still need to manage users within the Mailgun app.

     

    Need Support?

    Our Support Team here at Sinch Mailgun is happy to help! Reach out to us in the Support section of your Mailgun Control Panel, and we'll be with you shortly!