What is OAuth 2.0?
OAuth 2.0 is an authorization framework (RFC 6749) that lets an application obtain limited access to an API on behalf of a user or of itself, using access tokens instead of sharing passwords.
How it works
In OAuth 2.0, a client application asks an authorization server for permission. After the user approves, the authorization server issues an access token that the client presents to a resource server (an API). The client never sees the user's password.
OAuth defines several "grants". The authorization code grant with PKCE is used for interactive sign-in in web, mobile and single-page apps. The client credentials grant is used when a service calls an API without a user. Older grants such as the password grant are discouraged.
OAuth 2.0 is about authorization (what the client may access). Knowing who the user is belongs to OpenID Connect, which is built on top of OAuth 2.0.
OAuth 2.0 in SyAuth
SyAuth is a hosted OAuth 2.0 authorization server. It supports the authorization code grant with S256 PKCE, refresh tokens for Quick Build clients and the client credentials grant. The password grant is not supported.
Related terms
Free for up to 30,000 registered users
Start on the free plan and upgrade when your project grows.
Last updated