Authentication with multiple frontends

System Information
  • Strapi Version: 4.13.3
  • Node Version: 18.17.1

We’re using auth0 authentication provider and strapi is deployed on our DEV environment.

We have configured “The redirect URL to your front-end app” with the DEV frontend URL

This works fine.
The problem is we want to be able to develop our frontend locally and use the same strapi server.
But locally our frontend runs at http://localhost:4000 and not on https://devenvurl

How can we configure strapi to be able to allow authentication from both frontends?
Can’t it redirect back to the original starting point?