Skip to main content
Admin privileges in your Factorial HR account are required to create OAuth applications.

Creating an OAuth Application

To enable OAuth 2.0 authentication with StackOne, you need to create an OAuth application in Factorial.

1

Access the OAuth Applications Page

Navigate to your OAuth applications page based on your environment.

2

Create a New Application

Click New Application to start the OAuth application creation process.

3

Configure Application Details

Enter the required application details.

  • Name: Enter a descriptive name (e.g., StackOne Integration)
  • Redirect URI: the Callback URL from your Connector Profile
  • Confidential: Select based on your security requirements
4

Configure Scopes

Select the OAuth scopes your application needs access to. Available scopes include employees, contracts, time_off, recruitment, and more.

5

Save and Copy Credentials

Click Submit to save the application. Your credentials will be displayed.

  • Copy the Client ID and Client Secret and store them securely
  • The Client Secret is only shown once at creation and cannot be retrieved later
  • The Client ID can be found on the application details page anytime

Token Types

Factorial supports two token types for OAuth authentication.

1

User Token

User tokens make requests on behalf of a specific user. The user must be an employee in Factorial with appropriate permissions.

  • Expires in 1 hour
  • Requires token refresh
  • Actions are scoped to the user’s permissions
2

Company Token

Company tokens make requests on behalf of the company. Recommended for integrations that need company-wide access.

  • Never expires (but can be revoked)
  • No refresh needed
  • Full company-level access

Create the StackOne Connector Profile

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.