OAuth 2.0

Complete reference for OAuth 2.0 grant types supported by Authority.

Grant Type Overview

spinner

Available Grant Types

spinner

Grant Type Comparison

Grant Type
Use Case
Client Type
Security

Web apps with backend

Confidential

High

Mobile apps, SPAs

Public

High

Server-to-server

Confidential

High

IoT, CLI, Smart TVs

Public

Medium

Token renewal

Both

High

Legacy SPAs

Public

Low

Trusted first-party

Confidential

Medium

Endpoints

Endpoint
Method
Description

/authorize

GET

Start authorization flow

/token

POST

Exchange code for tokens

/token/introspect

POST

Validate a token

/token/revoke

POST

Revoke a token

/device

POST

Start device flow

For Web Applications

Use Authorization Code with a backend:

For Mobile Apps / SPAs

Use Authorization Code + PKCE:

For Backend Services

Use Client Credentials:

For CLI / IoT Devices

Use Device Code:

Security Recommendations

circle-check
circle-exclamation

Standards

Authority implements these RFCs:

Next Steps

Last updated

Was this helpful?