# I cannot authenticate to the server, even though I have configured it on both sides. Why is that?

### **Event description**

You have created and set up the Odoo server in confluence and in Odoo, the server shows available:\
You try to authenticate, get redirected to a new page but instead of successfully authenticating, the below error is displayed:

![](https://592562319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDRDuISatrSJXjVVJWeuq%2Fuploads%2Fssj2hZGW4RnKxKfcznNZ%2Fimage.png?alt=media\&token=26b93207-5a07-4ad3-b509-fbd55050b314)

### **Error message**

```
{"orestapi_code": "OrestapiOauth2Authorization-0005", "orestapi_message": "Redirect URI not found or misconfigured"}
```

### **Cause of event**

The redirect URI is either not set or is configured incorrectly in the Odoo Server.

### **Resolution**

1. Check the URI settings of the Odoo server through **Settings → Users and companies → Applicactions.**
2. Select the respective server, then click **Edit**
3. Add the below line to the URI on the **URIs** tab by clicking **Add a line**:

**URI**

```
https://<server-address>/plugins/odoo-connector/callback.action
```
