Doesn't always respect NextJS basepath
For example, if I set a basePath of '/test', after successfuly logging in I'll be redirected to simply '/', rather than '/'
8 Replies
I'll be redirected to simply '/', rather than '/'?
Apologies, meant I'd be redirected to '/' rather than '/test', as that's my baseUrl for the project
There is a miss-understanding.
baseURL in the config refers to the auth API base url, not related to redirecting after any specific action.
That's absolutely fine, I just meant that this particular action (successful sign-up) redirects me to the hosts root ('/') rather than my next-js configured basePath ('/test')
Might be mistaken myself here
Oh I see, so it's bringing you to the incorrect origin? (Sorry, just double checking I understand)
That's exactly it, yep
I guess that might be part of it being framework agnostic though
Thanks for getting back so quickly by the way!
I think (not super sure), but I heard it's a bug that will be patched.. 🤔
Can you open an issue on this on the GIthub so that it will be tracked?
Sure thing