You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am planning on using unique subdomain for each tenant in my app and want the app to correctly redirect on signin. How can do this? I can only seem to get it to redirect to the NEXT_AUTH_URL.
Additionally, I would like to conditionally allow other websites that have been saved in my database to wrap my website so the client a can access the site at clienta.com. Is there any way to dynamically set the redirect url?
Lastly, is there a way to use 'next/link' for the redirect to avoid page reloads?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First off, thank you for the great project!
I am planning on using unique subdomain for each tenant in my app and want the app to correctly redirect on signin. How can do this? I can only seem to get it to redirect to the NEXT_AUTH_URL.
Additionally, I would like to conditionally allow other websites that have been saved in my database to wrap my website so the client a can access the site at clienta.com. Is there any way to dynamically set the redirect url?
Lastly, is there a way to use 'next/link' for the redirect to avoid page reloads?
Beta Was this translation helpful? Give feedback.
All reactions