How to set a dynamic url in the redirect URL section.
In local environment i want it to be “http://localhost:3000” and in production this needs to be “https://www.nextdiffusion.ai”
Anyone know how to achieve this? My best guess is to change this file:
users-permissions/server/controllers/auth.js
How to change this and check for local or development environment? Thanks in advance.