---
title: Troubleshoot sign-in
slug: opti-id/docs/troubleshoot-sign-in
docTags: 
createdAt: 2026-07-30T20:38:23.911Z
---

You can use local login or your organization's single sign-on (SSO) with Opti ID. The PKCE error affects both, while the rest of the troubleshooting described in this article applies to only SSO logins.

## PKCE Error

If you see an `AuthSdkError` after you try to log in (as shown in the image), check that nothing is appended to the following URL when you log in: [https://login.optimizely.com/](https://login.optimizely.com/)

![image.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/luHnNHLOjAao3xgH7mVJK-20260720-150009.png)

Sometimes the browser may use an old URL from its history that appends query string parameters like the following to the end of the URL, which causes the `AuthSdkError`.

```auto
https://login.optimizely.com/oauth2/default/v1/authorize?client_id=xxx&code_challenge=xxx&code_challenge_method=S256&nonce=xxx&redirect_uri=https%3A%2F%2Fhome.optimizely.com%2Fcallback&response_type=code&state=xxx&scope=openid%20profile%20email%20offline_access%20idx_instancepermissions"
```

To resolve the `AuthSdkError`, remove the query string parameters from the URL so that you are only left with `https://login.optimizely.com/`. You can also resolve this error by clearing your web browser's cache and cookies.

## SSO-specific troubleshooting

If you experience issues signing in with Opti ID, first clear your web browser cache and cookies.

If that does not work, then ensure the **Audience URL** and **Assertion Consumer Service URL** on the **Settings > SSO** page in the Opti ID Admin Center match with your single sign-on (SSO) provider. Contact Optimizely Support with your Opti ID organization name, email address, and any error screenshots of the user experiencing sign-in issues.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/6Gvac0jtI4oKaWiz7ErmY-20260720-150009.png)

### OAuth error

If you see an OAuth error, such as *The following required property is missing: 'String.toLowerCase(email)',* during login, check that the user is configured with the following properties: email, first name, and last name.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/_LdlQ7Ii7GKYJQVWBE5yA-20260720-150009.png)

### Other SSO troubleshooting options

Use the following troubleshooting methods to solve some of the basic problems you might experience while configuring and using SSO with Opti ID:

- [Generate and Analyze HAR Files](docId:_i1Xa7HnmnhtnhoGr631Q)
- [Analyze service provider-initiated flow with SAML Tracer](docId\:bM2Ry0naxve6YMgEKn_es)

If none of the above options work, you can remove the SSO connection and try again:

1. In the Opti ID Admin Center, go to **Settings > SSO**.
2. Expand the SSO connection you want to remove and click **Remove Connection**.

If you cannot resolve the issue, contact Optimizely Support.
