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: https://api.stackone.com/connect/oauth2/factorialhr/callback
  • 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

Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for Factorial:
1

Navigate to Connector Profiles

Login to StackOne and navigate to Connector Profiles
2

Create New Connector Profile

  • Click + Connector Profile
  • Search for and select Factorial
  • Select Type as OAuth 2.0
  • Fill out the fields using details retrieved from your provider:
    • Client ID
    • Client Secret
    • OAuth Scopes (Optional)
    • Token Type (Optional)
  • (Optional) Select Actions to be enabled for this Connector Profile
  • Click Create profile
Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to Link Accounts for Factorial.