Skip to content

Return from an OpenID Connect provider

GET
/api/v1/auth/oidc/{providerId}/callback
curl --request GET \
--url https://gpu-kitchen.example.lan/api/v1/auth/oidc/1/callback
providerId
required
integer
> 0 <= 2147483647
code
string
error
string
state
string

Back to the sign-in page: /login?error=<code> on a refusal, the requested page otherwise.

Error codes: provider_not_found.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}