---
title: "Authentication"
description: "Learn how Identity Manager API authentication is based on the OpenIdConnect protocol, how to define an OpenIdClient, and which scope gives access to the API."
sidebar_position: 10
---

# Authentication

Identity Manager API authentication is based on the [OpenIdConnect protocol](https://openid.net/connect/). Configuration informations are accessible on: `[Usercube application URL]/.well-known/openid-configuration`.

An OpenId client must be previously defined using an [OpenIdClient](../toolkit/xml-configuration/access-control/openidclient.md) 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**

```xml
**<OpenIdClient Identifier="MyApplication" .../>**
```

for the Identity Manager 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 Identity Manager API is `usercube_api`.

