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.
-
Log in to Workforce Authority with an administrative account and go to Applications.
-
Click Create New Application.

-
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, push notifications to the authenticator app, 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. 
-
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 scopes the application may request: openid, profile, email, phone, groups and roles. Each one releases a set of claims about the user. See Scopes and claims. 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. 
-
Save your changes.
-
Edit the configured OIDC application and select the OAuth/OIDC Configuration tab.
-
Copy the UID and Secret values. You will need these for the application configuration.
Scopes and claims
A scope releases a set of claims about the user who signed in. The application asks for a claim in its request, either through the scope or by naming the claim in the claims request parameter.
An application receives groups and roles only when you select those scopes here. The other claims are not held back in the same way: an application can receive them by naming them in the claims request parameter, even when you leave their scope unselected.
| Scope | Claims |
|---|---|
| openid | sub, acr, amr |
| profile | name, given_name, family_name, preferred_username, updated_at |
email, email_verified |
|
| phone | phone_number, phone_number_verified |
| groups | groups, groups_overage |
| roles | roles |
Groups and roles
groups and roles are separate scopes, so you can give an application one without the other.
groupslists the groups the user belongs to in your user directory. Workforce Authority reads them from the directory when the user signs in, and again when the application refreshes a token or calls the userinfo endpoint. Each value is the group's name, ID or distinguished name, as the directory's group value format sets.roleslists the names of the roles the user holds in Workforce Authority.
In an organization with no external directory, users have no directory groups of their own. There groups carries the user's roles: their names, or their IDs when the Workforce Authority directory's Group Value Format is ID. Granting groups alone still releases them. Once the organization has an external directory, groups comes only from the external directories: a user that none of them holds gets no role names under groups.
If the directory does not answer in time, or returns an error, the sign-in still completes and the token carries no groups claim. A missing groups claim means the groups are unknown. An empty list means the user belongs to no groups.
groups carries at most 200 groups. When the user belongs to more, the list is cut short and the token also carries groups_overage set to true. A truncated list must never be used for authorization.
Where the application reads the claims
Where these claims arrive depends on the application's Access Token Type.
| Access Token Type | Where the claims arrive |
|---|---|
| JWT | In the ID token. |
| Opaque | From the UserInfo endpoint. The ID token does not carry them unless the application asks for each claim by name in the claims request parameter. |
This applies to every claim a scope releases, not only groups and roles.
A request that asks only for an ID token (response_type=id_token) gets no access token. Its claims always arrive in the ID token.
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.
-
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-configurationAuthorization endpoint Enter the authorization endpoint URL in this format: https://oidc.acceptto.com/<organization>/oauth2/v1/authToken endpoint Enter the token endpoint URL in this format: https://oidc.acceptto.com/<organization>/oauth2/v1/tokenScopes Define any scopes, as required in the third-party application. -
Save your changes in the third-party application configuration.
Test your OIDC application integration
-
Go to the login URL for your OIDC-supported application.
-
You will be redirected to the Workforce Authority SSO page.

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

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