SecureAuth Workforce Authority

Connect any OAuth or OIDC app

You can integrate applications that support OAuth / OIDC in Workforce Authority, which can act as an OAuth Server or OIDC Provider. This document provides the details about how to integrate an OAuth / OIDC application.

Understanding OAuth and OIDC

OAuth (Open Authorization) is an open standard protocol that provides a way to grant access to applications without giving the application your login credentials.

OIDC (OpenID Connect) is an open standard protocol that provides a way to authenticate and authorize access to applications without giving the application your login credentials.

Scopes in OAuth and OIDC define the level of access in an application request and can range from read-only access to full read-write access. For example, an application might request a "profile" scope to access the user's basic information, or an "email" scope to access the user's email address.

To summarize, OAuth and OIDC are related but different protocols. In Workforce Authority, it can act as an OAuth Server to grant access to applications or as an OIDC Provider to authenticate and authorize access to applications.

Prerequisites

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

  • User account with administrative access to an OAuth / OIDC supported application

OAuth / OIDC configuration in Workforce Authority

In this section, you'll configure Workforce Authority to act as an OAuth Server or OIDC Provider to access applications. OAuth is used to grant access, while OIDC is used to authenticate the user and obtain identity information.

  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, My OIDC Application.
    Type Set to OAuth/OIDC Application.
    Template Set to OpenID Connect Relying Party Application [oidc_client].
    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 OIDC application with its name and type

  4. Select the OAuth/OIDC Configuration tab, and set the following configurations:

    Login
    Login URL Enter the Login URL end users use to access your OIDC application.
    Redirect URLs Enter the redirect URL (Redirect_uri) that Workforce Authority will use to send back the authorization code. You can register more than one redirect URL (Redirect_uri).
    Client Settings
    Application Type Select the OIDC application type as either:
    Grant Type Select the check boxes for the grant types you want to use:
    Authentication Method Set to one of the following authentication methods:
    Scopes and Claims
    Scopes Select the level of access to it needs to a user's resources or information. Selection options are:
    Session
    Access Token Timeout Set how long the access token is valid for before it times out. By default this set to 1 minute. The time value is in minutes.
    Refresh Token Timeout Set how long the refresh token is valid for before it times out and requires the user to reauthenticate. By default this is set to 1 day. The time value is in days.

    OAuth/OIDC Configuration tab with the redirect URL, grant type and scopes

  5. Save your changes.

  6. Edit the configured OIDC application and select the OAuth/OIDC Configuration tab.

  7. Copy the UID and Secret values. You will need these for the application configuration.

Application configuration

In this section, you'll need the following information to configure a third-party application that supports OAuth / OIDC. Workforce Authority will act as the OAuth Server or OIDC Provider. This allows users to use their existing credentials to log in to other applications.

  1. Configure your third-party application using the following metadata from Workforce Authority.

    Data type Value
    Client ID The UID value copied from the OIDC application in Workforce Authority.
    Client Secret The Secret value copied from the OIDC application in Workforce Authority.
    Well-known endpoint Open the well-known OIDC discovery endpoint URL in this format: https://oidc.acceptto.com/<organization>/oauth2/v1/.well-known/openid-configuration
    Authorization endpoint Enter the authorization endpoint URL in this format: https://oidc.acceptto.com/<organization>/oauth2/v1/auth
    Token endpoint Enter the token endpoint URL in this format: https://oidc.acceptto.com/<organization>/oauth2/v1/token
    Scopes Define any scopes, as required in the third-party application.
  2. Save your changes in the third-party application configuration.

Test your OIDC application integration

  1. Go to the login URL for your OIDC-supported application.

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

    Application login page with QR code

  3. After successful authentication, select your preferred MFA method to approve access to the OIDC-supported application.

    Select MFA method

  4. Finally, you'll be redirected to the OIDC-supported application home page with an access token.