Machine-to-machine authentication (client credentials)
For services, scheduled jobs and backends that call your API without a user, SyAuth issues access tokens through the OAuth 2.0 client credentials flow. Each service gets its own client identity, so you can tell callers apart and revoke one without touching the others.
How it works
- Register a confidential client for the service.
- The service requests a token with its client ID and secret.
- Your API validates the token and enforces what the service may do.
Plans
Available on SyAuth plans, starting with the free plan (30,000 registered users). Quotas such as applications and API tokens depend on the plan; see the pricing page for current limits. Pricing
Good to know
- Your API remains responsible for checking the token and applying its own authorisation rules.
Frequently asked questions
Does SyAuth support the client credentials grant?
Yes. SyAuth issues access tokens to service identities with OAuth 2.0 client credentials.
Should I use API keys or client credentials?
Client credentials give short-lived tokens and one identity per service, which is easier to rotate and audit than shared API keys.
Can I automate SyAuth configuration?
Yes. The management API uses scoped developer tokens.
Related features
Free for up to 30,000 registered users
Start on the free plan and upgrade when your project grows.
Last updated