Scopes
Scopes specify the exact level of access needed, ensuring OAuth tokens are restricted to only the required resources. They do not grant any permissions beyond what the user already has.
Each scope represents a set of resources within our API. The list of resources accessible by the generated OAuth token is strictly limited to the scopes configured in the OAuth application.
If you are a Factorial Partner
If you have an OAuth application in production and wish to modify your scopes list, please fill up this form.
How do scopes work
When you create a new OAuth application you will be able to select the scopes you want your app to have access to.
These scopes will be sent through the URL when requesting the authorization code:
https://api.factorialhr.com/oauth/authorize?client_id=<YOUR_CLIENT_ID>&redirect_uri=<YOUR_REDIRECT_URI>&response_type=code&scope=project_management%20time_tracking
Then the client will review the scopes sent though the URL and authorize/deny the app access to these.
Once the user authorizes the app to access the requested scopes, you can continue to request the access token. The access token generated will be restricted to the authorized scopes.
NOTE: If you change the scopes in an already existing OAuth app, the already-generated tokens will become invalid so the client will need to re-authorize the app to be able to re-generate the OAuth tokens with the updated scopes list.
Scopes list
Currently, our scopes allow both read and write actions within the resources.
Updated 12 days ago