v1

latestOpenAPI 3.0.3agpl2026-07-179383.5 KB
user_oidc_settings

Create a new provider

This endpoint requires admin access This endpoint requires password confirmation

post/ocs/v2.php/apps/user_oidc/api/{apiVersion}/provider

Path parameters

apiVersion'v1' required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

identifierstring required

The unique identifier for the provider

clientIdstring required

The client ID for the provider

clientSecretstring required

The client secret for the provider

discoveryEndpointstring required

The discovery endpoint URL

settingsobject

Optional provider settings

scopestring

The scope to request

endSessionEndpointstring nullable

Optional end session endpoint URL

postLogoutUristring nullable

Optional post-logout redirect URI

Response

The provider was successfully created