What is Access token?

An access token is a credential an OAuth 2.0 client presents to an API to prove it is allowed to perform an action, usually short-lived and limited to specific scopes.

How it works

The API (resource server) validates the token and checks its scopes and audience before serving the request. Access tokens are often JWTs but can be opaque strings.

Because they are bearer credentials, anyone holding one can use it until it expires, so they should be short-lived, sent only over HTTPS and never stored in places scripts can read when avoidable.

Access token in SyAuth

SyAuth issues access tokens through the authorization code flow and the client credentials grant; your API remains responsible for validating them and applying its own authorization rules.

Machine-to-machine

Related terms

Free for up to 30,000 registered users

Start on the free plan and upgrade when your project grows.

Last updated

What is Access token? Definition | SyAuth