OAuth

Begin authorization

Validates the request, stores it under an opaque id, and redirects the browser to the first-party consent screen at /oauth/consent/{id}.

Two failure classes, deliberately answered differently. If the client_id is unknown or the redirect_uri is not an exact match for a registered value, the browser is shown an error page — never a redirect. Redirecting to an unvalidated URI is how an authorization server becomes an open redirector. Once the redirect target is validated, everything else (response_type, PKCE) is returned to the client as an OAuth error on that URI.

redirect_uri is compared as an exact string. Prefix matching is how https://app.example.com/cb becomes https://app.example.com/cb.evil.

get/oauth/authorize

Request

  • Base URL: https://scanduro.com
  • URL: https://scanduro.com/oauth/authorize
  • Auth: HTTP bearer

Query parameters

response_type'code' required
client_idstring required
redirect_uristring uri required
code_challengestring required
code_challenge_method'S256' required
scopestring

Space-delimited. Unknown values are dropped rather than refused (RFC 6749 §3.3); an empty result falls back to codes:read.

statestring
resourcestring uri

RFC 8707 resource indicator, recorded with the request.

Changes

No recorded changes to this operation across all 1 revision of this API.