Authorize an application to sign a member in
const url = 'https://gpu-kitchen.example.lan/api/v1/oidc/authorize?client_id=example&code_challenge_method=S256&redirect_uri=example&response_type=code&scope=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://gpu-kitchen.example.lan/api/v1/oidc/authorize?client_id=example&code_challenge_method=S256&redirect_uri=example&response_type=code&scope=example'The OAuth 2.0 authorization endpoint (code flow, PKCE S256). An unknown client or redirect URI is refused here; any other refusal goes back to the application as error and error_description query parameters.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”To the application with a code, to the sign-in page without a session, or back with an error.
Error codes: oidc_redirect_uri_mismatch, oidc_unknown_client.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: oidc_provider_unavailable.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: rate_limited.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}