# Unableto authenticate you

**URL:** <https://community.forestadmin.com/t/unableto-authenticate-you/3760>\
**Category:** Help me!\
**Created:** [November 23, 2021, 9:41pm UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760 "2021-11-23T21:41:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://community.forestadmin.com/u/user1)\
**Post date:** [November 23, 2021, 9:41pm UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/1 "2021-11-23T21:41:17Z")

</div>

## Observed behavior

after updating to the latest version I get the following message:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/74dddc077765e55a58428c0a228ca710b504c2fa.png)

## Failure Logs

Console:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/9/9eef841d14360fe9aa5d4b35d3c4932a0910dc55.png)  
Network:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/6/6e35ae8c5d735acc20a44bf984db1dacabb9dcdd.png)

node:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/6/6ed655f5373ceb4a40abbc8448e2765e31e91cdc.png)

## Context

> Please provide in this **mandatory section** , the relevant information about your configuration:

- Project name:rental-admin
- Environment name:pgsql
- Agent type & version: “forest-express-sequelize”: “^8.4.7”,
- Recent changes made on your end if any: upgrade from version 2 to 8,upgrade node from 8 to 10

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [November 24, 2021, 7:59am UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/2 "2021-11-24T07:59:53Z")

</div>

Hello @user1,

Thank you for your message.

If I understood well, you upgraded your `forest-express-sequelize` from version 2 to 8?  
Did you follow the upgrade [notes](https://docs.forestadmin.com/documentation/how-tos/maintain/upgrade-notes-sql-mongodb)?

Thanks.

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://community.forestadmin.com/u/user1)\
**Post date:** [November 24, 2021, 9:53am UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/3 "2021-11-24T09:53:48Z")

</div>

Hi @anon34731316  
yes, I think I did everything according to the instructions. I have updated one by one

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 24, 2021, 10:32am UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/4 "2021-11-24T10:32:11Z")

</div>

Hey @user1,

Thanks for searching all those information. We will try to find the culprit. 🙏

The network indicates a failing calls on the **/forest/authentication/callback** URL.

- Do you encounter the issue on _development environment_ or on _production environment_ ? (I don’t find any _pgsl_ environment for the project rental-admin)
- Can you share your **APPLICATION\_URL** environment variable ? (It can cause this issue)

Thanks in advance.

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://community.forestadmin.com/u/user1)\
**Post date:** [November 24, 2021, 12:17pm UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/5 "2021-11-24T12:17:49Z")

</div>

Hi,

I can’t check the environment from [https://app.forestadmin.com/projects](https://app.forestadmin.com/projects) , I don’t know why. Is there any other way to check it?

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 24, 2021, 1:54pm UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/6 "2021-11-24T13:54:46Z")

</div>

Ok, you can see it on the upper-left corner of the application when you join a project but lets forget about that.

I need to know your **APPLICATION\_URL** configuration. 🙏

> [@morganperre](#):
>
> - Can you share your **APPLICATION\_URL** environment variable ? (It can cause this issue)

Regarding the configuration of the **rental-admin** project, for **your production** , it should be to

```javascript
APPLICATION_URL=https://rentaladmin.wildtangent.com

```

Let me know if this helps.

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![user1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@user1](https://community.forestadmin.com/u/user1)\
**Post date:** [November 24, 2021, 2:03pm UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/7 "2021-11-24T14:03:53Z")

</div>

Sorry, before I wrote about APPLICATION\_URL envirroment vairable - I dont know where I can find it.

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 24, 2021, 2:11pm UTC](https://community.forestadmin.com/t/unableto-authenticate-you/3760/8 "2021-11-24T14:11:59Z")

</div>

Hi again,

**APPLICATION\_URL** environment variable so it can be most of the time in a `.env` for localhost config (development). In production config it can be store on a specific way depending on your host services (AWS, Heroku, GoogleCloud, Azure, …)

Can you ask a colleague for this information ?

Regards,  
Morgan
