> For the complete documentation index, see [llms.txt](https://docs.meta-inf.hu/odoo-confluence-connector/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meta-inf.hu/odoo-confluence-connector/user-guide/troubleshooting-guide/i-cannot-authenticate-to-the-server-even-though-i-have-configured-it-on-both-sides.-why-is-that.md).

# 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:

![](/files/hufnDx6ClQbktFmh9VVE)

### **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
```
