SecureAuth Workforce Authority

F5 VPN SAML integration

Multi-Factor Authentication (MFA) is an extra layer of security used when logging into websites or apps. Individuals are authenticated through more than one required security and validation procedure that only they know or have access to.

Security Assertion Markup Language (SAML) is a protocol for authenticating to web applications. SAML allows federated apps and organizations to communicate and trust one another’s users.

Workforce Authority by SecureAuth offers a simple method for adding single sign-on (SSO) MFA to F5 VPN through its SAML solution.

Prerequisites

  • Configured Workforce Authority instance and user account with administrative privileges for Workforce Authority.

  • Configured Workforce Authority LDAP Agent.

    For more information, see the Workforce Authority LDAP Agent deployment guide.

  • User account with administrative privileges for F5 VPN.

F5 VPN configuration

In this section, you will configure F5 VPN as a service provider (SP).

  1. Download the SAML metadata and certificate for your organization from Workforce Authority.

    Metadata download: https://sso.acceptto.com/<myorganization>/saml/download/metadata

    View metadata: https://sso.acceptto.com/<myorganization>/saml/metadata

    Certificate download: https://sso.acceptto.com/<myorganization>/saml/download/cert

  2. Log in to the F5 admin portal with an administrative account. Go to Access > Federation > SAML Service Provider > Local SP Services and click Create.

    F5 Access menu with the Local SP Services option and its create icon

  3. On the Create New SAML SP Service page, set the folling configurations.

    Name Enter a name for this VPN.
    Entity ID Enter the URL of your F5 VPN. For example, https://f5.company.com

    Create New SAML SP Service page in the F5 admin portal

  4. Select the created service provider (SP) and click Bind/Unbind IdP Connectors.

    F5 Local SP Services list with the created service provider selected

  5. Click Create New IdP Connector and then From Metadata.

    F5 IdP connector menu with the From Metadata option

  6. Browse to the Workforce Authority metadata XML file you downloaded earlier, enter a name for the Workforce Authority Identity Provider and Click OK.

    F5 IdP connector form with the Workforce Authority metadata file and a name

  7. To use the new Workforce Authority external IdP connector, click Add New Row and then Update.

    F5 Bind IdP Connectors dialog with the new connector row added

  8. Click OK to save your configuration.

  9. Select the created service provider and click Export Metadata. You will need this for the Workforce Authority side of the configuration.

    F5 Local SP Services list with the created service provider selected

Apply access policy

  1. From the F5 VPN admin portal, go to Access > Profiles / Policies > Access Profiles (Per Session Policies).

    F5 Access menu with the Access Profiles (Per-Session Policies) option

  2. In the Per-Session Policy column, click Edit for the VPN configuration.

    F5 per-session policy row with its Edit link

  3. On the Apply Access Policy page, to add SAML authentication, click + after Logon Page.

    F5 visual policy editor with the plus icon after the Logon Page

  4. Go to the Authentication tab, choose SAML Auth, and click Add Item.

    F5 Authentication tab with SAML Auth selected

  5. Set the AAA Server field to the VPN service provider you just created and click Save.

    F5 SAML Auth item with its AAA Server set to the new service provider

  6. Remove the previous authentication methods and select Apply Access Policy.

    F5 policy ending in Apply Access Policy after the old methods are removed

  7. Optional. You can edit the Login Page to automatically redirect to Workforce Authority or change the Login button text to "Login with Workforce Authority".

Workforce Authority SAML configuration as an Identity Provider (IdP)

In this section, you will add an application for F5 VPN and set the SAML configuration settings. This will define the IdP side of the configuration.

  1. Log in to Workforce Authority with an administrative account and go to Applications.

  2. Click Create New Application.

    Create new application

  3. In the New Application form, on the General tab, set the following configurations:

    Name Set the name of the application. This is the name to display for push notifications, in the Admin panel, Application portal, and audit logs. For example, F5 VPN.
    Type Set to SAML Application.
    Template Set to SAML Service Provider [saml_sp].
    Out of Band Methods Select the allowed methods end users can choose to approve MFA requests. For example, Workforce Authority Mobile app (push notifications), SMS, or Security Key.
    Message for MFA Requests Optional. Type a message displayed to end users when sending an MFA request via push notification, SMS, or email.

    General tab of the new F5 VPN application with its type and Out of Band Methods

  4. Select the SAML Service Provider Configuration tab, and set the following configurations:

    Issuer or Entity ID Enter the Entity ID URL provided in the F5 VPN SAML metadata that you downloaded earlier.
    Log in URL Enter your login URL provided by F5 VPN.
    NameID Format Set to Email Address.
    Name Identifier Set to mail, the attribute that holds the user's email address.
    ACS URL Enter the ACS URL provided in the F5 VPN SAML metadata.
    Single Logout URL Optional. Enter the Single logout URL provided in the F5 VPN SAML metadata.
    Algorithm Set to RSA-SHA256.

    SAML Service Provider Configuration tab with the F5 entity ID and ACS URL

  5. Save your changes.

Test your application integration

  1. Go to your F5 VPN URL and click Login with Workforce Authority.

    F5 VPN login page with the Login with Workforce Authority button

  2. You will be redirected to the Workforce Authority SSO page.

    Workforce Authority SSO page reached from the F5 VPN login

  3. After successful authentication, select your preferred MFA method to approve access to the F5 VPN application.

    Select MFA method

  4. You are redirected to the F5 VPN home page.

Support

If you have questions or need assistance, contact SecureAuth Support.

Sales

Want to learn more about our MFA solutions? Contact our Professional Services for a demo today.

Disclaimer

All product names, trademarks, and registered trademarks are the property of their respective owners.

All company, product, and service names used in this document are for identification purposes only. The use of these names, trademarks, and brands do not constitute an endorsement by the SecureAuth Corporation.