Aller au contenu

Authorization Endpoint (POST)

POST
/oidc/authorize
curl --request POST \
--url https://auth.timetonic.com/oidc/authorize \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data client_id=example \
--data redirect_uri=https://example.com \
--data response_type=code \
--data scope=example \
--data state=example \
--data nonce=example \
--data code_challenge=example \
--data code_challenge_method=S256

Same contract as GET /oidc/authorize (routes/web.php matches both get+post to AuthorizationController::authorize). Accepts the same parameters as form fields instead of query string — used by flows that resume the authorization request via a form post (e.g. after 2FA / SSO redirects) rather than a query-string redirect.

Media typeapplication/x-www-form-urlencoded
object
client_id
required
string
redirect_uri
required
string format: uri
response_type
required
string
Allowed values: code
scope
required
string
state
required
string
nonce
string
code_challenge
required
string
code_challenge_method
required
string
Allowed values: S256

Redirect to redirect_uri with authorization code

Authentication required (returns oidc_request_id)