# Migrating to forest-express-sequelize v7, "Please verify that your admin backend is correctly configured and running."

**URL:** <https://community.forestadmin.com/t/migrating-to-forest-express-sequelize-v7-please-verify-that-your-admin-backend-is-correctly-configured-and-running/2056>\
**Category:** Help me!\
**Created:** [March 9, 2021, 4:22pm UTC](https://community.forestadmin.com/t/migrating-to-forest-express-sequelize-v7-please-verify-that-your-admin-backend-is-correctly-configured-and-running/2056 "2021-03-09T16:22:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![julien](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/julien/32/322_2.png) [@julien](https://community.forestadmin.com/u/julien)\
**Post date:** [March 9, 2021, 4:22pm UTC](https://community.forestadmin.com/t/migrating-to-forest-express-sequelize-v7-please-verify-that-your-admin-backend-is-correctly-configured-and-running/2056/1 "2021-03-09T16:22:36Z")

</div>

I’m migrating to forest-express-sequelize v7 from v6. I followed this guide: [https://docs.forestadmin.com/documentation/how-tos/maintain/upgrade-notes-sql-mongodb/upgrade-to-v7#upgrading-to-v7](https://docs.forestadmin.com/documentation/how-tos/maintain/upgrade-notes-sql-mongodb/upgrade-to-v7#upgrading-to-v7)

I launched my server, there’s no errors from forest.  
But I went to the dashboard and clicked on my development environment and it’s trying to reach the wrong url.

It’s maklng a call on the following url: `http://localhost:8000/forest/authentication/callback?code=...` when it should make a call to `http://localhost:8000/admin/forest/authentication/callback?code=...`. (I have a custom thing and all the forest url are under the admin path.

My base url in my environment configuration is correct (the /admin is there).

It is caused by this line in forest-express: [forest-express/authentication.js at 305c33c75d0d183da071c2427d4950e9e162be63 · ForestAdmin/forest-express · GitHub](https://github.com/ForestAdmin/forest-express/blob/305c33c75d0d183da071c2427d4950e9e162be63/src/routes/authentication.js#L12)

As you can see here, it removes the path if there’s already one:  
 ![Screen Shot 2021-03-09 at 17.21.25](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/4/4f1fc444868ae93ebe813bcd58c09ae596c596ad.png)

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [March 9, 2021, 4:26pm UTC](https://community.forestadmin.com/t/migrating-to-forest-express-sequelize-v7-please-verify-that-your-admin-backend-is-correctly-configured-and-running/2056/2 "2021-03-09T16:26:41Z")

</div>

Hello @julien,

Thank you for your feedback. Can you please share with us which technology and package version you use? Do you use `forest-rails`, `forest-express-sequelize` or `forest-express-mongoose`?

Also, can you share the value you entered for the `APPLICATION_URL` env variable?

Thanks

---

<div class="post-metadata">

**Author:** ![julien](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/julien/32/322_2.png) [@julien](https://community.forestadmin.com/u/julien)\
**Post date:** [March 9, 2021, 4:29pm UTC](https://community.forestadmin.com/t/migrating-to-forest-express-sequelize-v7-please-verify-that-your-admin-backend-is-correctly-configured-and-running/2056/3 "2021-03-09T16:29:56Z")

</div>

I use forest-express-sequelize, APPLICATION\_URL is [http://localhost:8000/admin](http://localhost:8000/admin)

The forest admin dashboard makes a first request to `http://localhost:8000/admin/forest/authentication`, and that request returns the incorrect redirect URL because of the line of code in forest-express I linked to.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [March 9, 2021, 4:32pm UTC](https://community.forestadmin.com/t/migrating-to-forest-express-sequelize-v7-please-verify-that-your-admin-backend-is-correctly-configured-and-running/2056/4 "2021-03-09T16:32:45Z")

</div>

Thank you for your feedback. I’m creating an issue on our side, indeed, there is a problem with this implementation.

We will work on a fix and release it as soon as possible. I’ll let you know when it’ll be available.

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [March 10, 2021, 9:22am UTC](https://community.forestadmin.com/t/migrating-to-forest-express-sequelize-v7-please-verify-that-your-admin-backend-is-correctly-configured-and-running/2056/5 "2021-03-10T09:22:34Z")

</div>

Hello @julien,

We just released `forest-express-sequelize@7.1.1` and `forest-express-mongoose@7.0.5` that should fix the bug that you encountered.

Can you test on your side and confirm that it’s fixing yout issue?

Thanks
