/api/oidc/authorizePublicAuthorization endpoint
The OAuth 2.0 / OpenID Connect authorization endpoint (RFC 6749 §3.1, OIDC Core §3.1.2). Validates the request and redirects the user-agent to the auth server's login / consent UI, which later redirects back to redirect_uri with code, state and iss (RFC 9207). PKCE S256 is mandatory. Errors in client_id or redirect_uri are answered with a direct 400 (never a redirect); every later failure (unsupported_response_type, invalid_scope, invalid_request, login_required, request_not_supported, ...) redirects back to the validated redirect_uri with error, error_description, state and iss query parameters. Responses carry Cache-Control: no-store.
get_api_oidc_authorizeOpenID Connect / OAuth 2.0Authentication & permissionsPublic
Anyone — no credentials required
- Accepted credentials
- None required
- Notes
- No credentials: the resource owner authenticates on the login page this endpoint redirects to. The client is identified by
client_idand its registeredredirect_uri.
Query parameters
| Name | Type | Description |
|---|---|---|
| client_id | string | REQUIRED. The client application id. |
| redirect_uri | string | REQUIRED. Must exactly match a callback URL registered for the client app (http loopback URLs are port-agnostic per RFC 8252 §7.3). |
| response_type | string | REQUIRED. Only |
| scope | string | OPTIONAL. Space-delimited scopes. With |
| state | string | RECOMMENDED. Opaque value echoed back on the redirect (also on error redirects). |
| nonce | string | OPTIONAL. Bound to the id_token's |
| code_challenge | string | REQUIRED. PKCE code challenge (RFC 7636); every client is treated as public. |
| code_challenge_method | string | REQUIRED. Only |
| prompt | string | OPTIONAL. |
| request | string | Not supported: refused with |
| request_uri | string | Not supported: refused with |
| resource | string | Ignored at this endpoint. Send the RFC 8707 |
Responses
Example request
curl -X GET 'https://auth.schemavaults.com/api/oidc/authorize'