OAuth 2.0 Authentication Endpoints
This document describes the OAuth 2.0 authentication flow and available endpoints for integrating with our authorization server.
🔐 OAuth 2.0 Flow Overview
- Redirect the user to the Authorization Endpoint.
- The user logs in and grants permission.
- The server redirects back with a code.
- Your app exchanges the code at the Token Endpoint for an access token.
- Use the access token to call protected resources.
📍 Authorization Endpoint
URL: https://auth.example.com/oauth/authorize
Method: GET
Query Parameters:
| Parameter | Required | Description |
|---|---|---|
| response_type | Yes | Must be code |
| client_id | Yes | Your client ID issued by our system |
| redirect_uri | Yes | Where to redirect after authorization |
| scope | Optional | Requested scopes (e.g., read write) |
| state | Optional | Any value to maintain app state |
Example URL: