Skip to main content

Authentication

Usercube API authentication is based on the OpenIdConnect protocol. Configuration informations are accessible on: [Usercube application URL]/.well-known/openid-configuration.

An OpenId client must be previously defined using an OpenIdClient configuration element.

The client_id parameter to use in calls to the OpenIdConnect protocol endpoints must be the concatenation of clientId, @ and the domain of the application.

For example, client defined by


<OpenIdClient Identifier="MyApplication" .../>

for the Usercube application hosted on usercube.mycompany.com must use MyApplication@usercube.mycompany.com as client_id parameter in any call to the OpenIdConnect endpoints.

The scope to access to the Usercube API is usercube_api.