NextJS auth0 library:
I am following the v4 migration guide and have almost everything working except one thing. I have a need to dynamically set the redirect_uri and was able to previously do so with the route handlers. Now, according to the guide, you can just supply authorization parameters as search params after login route ‘/api/login?whatever’ but this is not working.
I try to set redirect_uri dynamically here and it simply uses the APP_BASE_URL or localhost:3000 if there is no app base url. Is this a bug? How can we dynamically specify redirect uri?
Edit:
Overriding scope does work but redirect_uri does not