API: oidc
GET /api/auth/oidc/callback#
Callback
No sign-in needed
Parameters
code | query | string | |
state | query | string | |
error | query | string |
Response 200
GET /api/auth/oidc/config#
Public Config
For the login page: is there an SSO button, and what does it say. Nothing else is revealed.
No sign-in needed
Response 200
GET /api/auth/oidc/start#
Start
No sign-in needed
Parameters
origin * | query | string |
Response 200
GET /api/settings/oidc#
Read
Permission settings.view (look)
Response 200 OidcSettingsRead
Show 11 fields
| Field | Type | Notes |
|---|---|---|
admin_group * | string | null | |
client_id * | string | null | |
client_secret_set * | boolean | |
display_name * | string | |
enabled * | boolean | |
groups_claim * | string | |
issuer * | string | null | |
operator_group * | string | null | |
read_only_group * | string | null | |
role_mappings | RoleMapping[] | |
scopes * | string |
PUT /api/settings/oidc#
Update
Permission settings.write (administer)
Request body OidcSettingsUpdate
Show 12 fields
| Field | Type | Notes |
|---|---|---|
admin_group | string | null | |
clear_client_secret | boolean | default: false |
client_id | string | null | |
client_secret | string | null | |
display_name | string | null | |
enabled | boolean | null | |
groups_claim | string | null | |
issuer | string | null | |
operator_group | string | null | |
read_only_group | string | null | |
role_mappings | RoleMapping[] | null | |
scopes | string | null |
Response 200 OidcSettingsRead
Show 11 fields
| Field | Type | Notes |
|---|---|---|
admin_group * | string | null | |
client_id * | string | null | |
client_secret_set * | boolean | |
display_name * | string | |
enabled * | boolean | |
groups_claim * | string | |
issuer * | string | null | |
operator_group * | string | null | |
read_only_group * | string | null | |
role_mappings | RoleMapping[] | |
scopes * | string |
POST /api/settings/oidc/test#
Test
Fetch the provider's discovery document and signing keys: proves the issuer URL, not the login.
Permission settings.write (administer)