# Unable to authenticate using another laptop

**URL:** <https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551>\
**Category:** Help me!\
**Created:** [April 26, 2022, 1:28pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551 "2022-04-26T13:28:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![guillaumejauffret](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumejauffret/32/61_2.png) [@guillaumejauffret](https://community.forestadmin.com/u/guillaumejauffret)\
**Post date:** [April 26, 2022, 1:28pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551/1 "2022-04-26T13:28:10Z")

</div>

Hi,

I have a Forest project that runs perfectly, locally and in prod on Docker. Locally, it works well: I can authenticate.

However, when I use another laptop I cannot authenticate. I use the same repo, with the same Docker config and the same env variables. All the env variables are set: FOREST\_AUTH\_SECRET, FOREST\_ENV\_SECRET, FOREST\_CLIENT\_ID (I can console.log them) and my server is up:

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

Here are the requests that fail when authenticating:

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

Any ideas about how to fix that ?  
Thanks

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [April 26, 2022, 2:00pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551/2 "2022-04-26T14:00:37Z")

</div>

Hey @guillaumejauffret 👋

I can spot that your `/authentication` call fails at preflight. Do you have any associated error in your browser console?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![guillaumejauffret](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumejauffret/32/61_2.png) [@guillaumejauffret](https://community.forestadmin.com/u/guillaumejauffret)\
**Post date:** [April 26, 2022, 2:11pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551/3 "2022-04-26T14:11:47Z")

</div>

Hey @anon39848301 :),

here are my logs in the browser console

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

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [April 26, 2022, 2:14pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551/4 "2022-04-26T14:14:13Z")

</div>

Thanks 🙏

So …  
This first error looks weird. I’ll have to check on my end why this happens, and I’ll let you know.

However, the second issue seems to indicate that your backend is running using a certificate that is not allowed by chrome. Is your SSL certificate associated with your backend self signed ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![guillaumejauffret](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumejauffret/32/61_2.png) [@guillaumejauffret](https://community.forestadmin.com/u/guillaumejauffret)\
**Post date:** [April 27, 2022, 9:13am UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551/8 "2022-04-27T09:13:41Z")

</div>

Hi @anon39848301 yes indeed, I had to add my self signed certificate to the system trusted certificates

Thanks for your help

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [April 27, 2022, 9:15am UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551/9 "2022-04-27T09:15:38Z")

</div>

👍 So everything is working as expected now ?

---

<div class="post-metadata">

**Author:** ![guillaumejauffret](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumejauffret/32/61_2.png) [@guillaumejauffret](https://community.forestadmin.com/u/guillaumejauffret)\
**Post date:** [April 27, 2022, 1:50pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-using-another-laptop/4551/10 "2022-04-27T13:50:43Z")

</div>

yes 👍 thanks @anon39848301
