Authentication
OAuth 2.0 Authorization
OAuth authorization code flow
Example URL
https://auth.example.com/oauth/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=https%3A%2F%2Fyourapp.com%2Fcallback&response_type=code&scope=read%20write&state=random_state_string
Parameters
client_id=YOUR_CLIENT_IDYour application's unique identifier from the OAuth provider
redirect_uri=https://yourapp.com/callbackURL where users are sent after authorization
response_type=codeOAuth flow type: "code" for authorization code, "token" for implicit
scope=read writePermissions your app is requesting (space-separated)
state=random_state_stringRandom string to prevent CSRF attacks
URL Structure
Protocol
https:
Host
auth.example.com
Path
/oauth/authorize