# Identity provider users

If you have configured ore or more Identity Providers, you can also limit the number of concurrent user sessions. First, access the Keycloak admin console with the instructions provided on the page [Accessing Keycloak admin console](/akamas-docs/3.5.0/managing-akamas/users-management/accessing-keycloak-admin-console.md).

<figure><img src="/files/HuvehvyD4zKQeDr17EIi" alt=""><figcaption></figcaption></figure>

Click on the "create flow" button, provide a name, and then select the flow type "Basic Flow" and click on create.

<figure><img src="/files/sibJgCbXN1tuSCUpg9a1" alt=""><figcaption></figcaption></figure>

Now click on "add execution"

<figure><img src="/files/HNLjXhTnis9PhqA9zuTl" alt=""><figcaption></figcaption></figure>

A dialog pops up with a list of possible actions, filter the results with the limit keyword.

<figure><img src="/files/f5sdDMDNpjTHdP8hfYTQ" alt=""><figcaption></figcaption></figure>

Select "User session count limiter" and click on "Add".

<figure><img src="/files/lt7WrS4aGkfM6SZ6950c" alt=""><figcaption></figcaption></figure>

Set this new step as "Required" from the drop-down then click on the cog icon to edit its properties

<figure><img src="/files/9dlbz9PMWaw1gF3uwsNN" alt=""><figcaption></figcaption></figure>

Give it a meaningful alias and type in the maximum concurrent session value you desire. Select the behavior "Deny new session" from the drop-down list. Type in a valid message in the textbox "Optional custom error message" and click on "Save".

<figure><img src="/files/HgZccWsu67KRTjQP4is9" alt=""><figcaption></figcaption></figure>

Now go to the identity provider page and click on the Identity provider you want to limit.

<figure><img src="/files/6RlSLUayHD6aexdbgMmt" alt=""><figcaption></figcaption></figure>

Scroll down to the bottom, click on the "Post login flow" dropdown, and select the new step you just created then click on the "Save" button.

<figure><img src="/files/dWoh812Bb6APNDZsaK6s" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akamas.io/akamas-docs/3.5.0/managing-akamas/users-management/limit-users-sessions/identity-provider-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
