# Auth0 integration on an existing project on vercel

**URL:** <https://community.auth0.com/t/auth0-integration-on-an-existing-project-on-vercel/184783>\
**Category:** Get Help\
**Tags:** other, test\
**Created:** [March 31, 2025, 9:50am UTC](https://community.auth0.com/t/auth0-integration-on-an-existing-project-on-vercel/184783 "2025-03-31T09:50:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 31, 2025, 5:41pm UTC](https://community.auth0.com/t/auth0-integration-on-an-existing-project-on-vercel/184783/3 "2025-03-31T17:41:32Z")

</div>

Hi @devops17

Welcome to the Auth0 Community!

Regarding the first issue that you have posted, it appears that you application does not have configured the baseURL which would be either the `AUTH0_ISSUER_BASE_URL` or `AUTH0_BASE_URL`.

For your second issue, you might not be redirecting the user properly inside your application.

I would highly recommend to review the following posts regarding the matter:

- [How to Deploy a Next.js App Secured By Auth0 to Vercel](https://developer.auth0.com/resources/guides/web-app/nextjs/vercel-deployment)
- [Auth0 Examples & Templates | Vercel](https://vercel.com/templates/auth0)
- [Auth0 w/ NextJS and Vercel Not Working](https://community.auth0.com/t/auth0-w-nextjs-and-vercel-not-working/111123)
- [How to Deploy a Next.js App Secured By Auth0 to Vercel - #7 by byron.motoche](https://community.auth0.com/t/how-to-deploy-a-next-js-app-secured-by-auth0-to-vercel/106412/7)
- [Nextjs + auth0 work at localhost, but return 404 while depoly to vercel - #6 by onlinepenguin](https://community.auth0.com/t/nextjs-auth0-work-at-localhost-but-return-404-while-depoly-to-vercel/112999/6)
- [Vercel Integration with Auth0](https://auth0.com/docs/customize/integrations/integrate-with-vercel)

Let me know if you have any other questions regrding the matter!

Kind Regards,  
Nik

---

_[View the full topic](https://community.auth0.com/t/auth0-integration-on-an-existing-project-on-vercel/184783)._
