# Unable to authenticate after installation on Rails

**URL:** <https://community.forestadmin.com/t/unable-to-authenticate-after-installation-on-rails/3320>\
**Category:** Help me!\
**Tags:** setup\
**Created:** [September 21, 2021, 3:55pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-after-installation-on-rails/3320 "2021-09-21T15:55:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walid\_Benzina](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/walid_benzina/32/1644_2.png) [@Walid\_Benzina](https://community.forestadmin.com/u/Walid_Benzina)\
**Post date:** [September 21, 2021, 3:55pm UTC](https://community.forestadmin.com/t/unable-to-authenticate-after-installation-on-rails/3320/1 "2021-09-21T15:55:10Z")

</div>

## Expected behavior

Should be able to access Forest Admin dashboard when running App localy.

## Actual behavior

I got the following error message :

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

## Failure Logs

Here’s the logs of my Browser console :

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/f/fd70aca75ab2266c52c3dc558f12438dc4e5e378.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/8/843be0a5ae35ed1bc1ae2fadd7fba059ff874f54.png)

## Context

I followed the Onboarding Rails Setup on Forest website, the installation went smoothly, but when I try to access the Forest Admin dashboard I got the “Unable to Authenticate” error message. I set the environment vars in my .env file (FOREST\_ENV\_SECRET; FOREST\_AUTH\_SECRET and FOREST\_APPLICATION\_URL=[http://localhost:3000](http://localhost:3000)).  
When I run rails s it goes to localhost:3000.

I tried to troubleshoot following solution on other thread with similar issues but nothing works.

I didn’t setup CORS on my side, but followed the documentation just in case ([Configuring CORS headers | Developer Guide](https://docs.forestadmin.com/documentation/how-tos/setup/configuring-cors-headers)). It didn’t change anything unfortunately…

I’m running out of ideas here 😭  
Any help would be appreciated, thanks in advance !

- Rails Version: 6.0.4
- Project Name: Yumon

---

<div class="post-metadata">

**Author:** ![anon94532230](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon94532230](https://community.forestadmin.com/u/anon94532230)\
**Post date:** [September 22, 2021, 8:41am UTC](https://community.forestadmin.com/t/unable-to-authenticate-after-installation-on-rails/3320/2 "2021-09-22T08:41:16Z")

</div>

Hi @Walid_Benzina !  
Do you use an ad blocker ? If yes can you try to whitelist Forest ?

---

<div class="post-metadata">

**Author:** ![Walid\_Benzina](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/walid_benzina/32/1644_2.png) [@Walid\_Benzina](https://community.forestadmin.com/u/Walid_Benzina)\
**Post date:** [September 22, 2021, 8:54am UTC](https://community.forestadmin.com/t/unable-to-authenticate-after-installation-on-rails/3320/3 "2021-09-22T08:54:30Z")

</div>

Nicolas you’re the best !!

My Brave browser blocked the website so it works now, that’s perfect 🙌

Thank you very much for your help!

---

<div class="post-metadata">

**Author:** ![anon94532230](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon94532230](https://community.forestadmin.com/u/anon94532230)\
**Post date:** [September 22, 2021, 9:04am UTC](https://community.forestadmin.com/t/unable-to-authenticate-after-installation-on-rails/3320/4 "2021-09-22T09:04:23Z")

</div>

Glad to hear that ! 🙂
