# How to resolve Error 500 on user authentication

## Problem

In some cases, when you try to authenticate a user, an exception is shown:&#x20;

{% code overflow="wrap" %}
```json
{
    "Type": "Exception",
    "Title": "An error occurred.",
    "Status": 500,
    "Detail": "An error was encountered while handling the remote login."
    "Instance": "/signin-oidc",
    "Extensions": {}
}
```
{% endcode %}

## Solution

1. Log in to the Microsoft Azure portal at [https://portal.azure.com](https://portal.azure.com).
2. Open the portal menu and select **Microsoft Entra ID**.
3. On the left pane, select **App registrations**.
4. Click **All applications.**
5. Click the application you created for Parallels DaaS.
6. Select **Authentication** in the left blade.
7. Select **ID tokens** **(used for implicit and hybrid flows)**.
8. Click **Save**.

<figure><img src="https://342210427-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2FhOsVSzu3vAb61Uku5M%2Fuploads%2Faar7TarhFgK1Z1ZUMSwb%2Fimage.png?alt=media&#x26;token=f45c97f8-6c08-4283-b0f0-9ea8a4e768dc" alt=""><figcaption></figcaption></figure>
