Sub domain auth
I am trying to make the session available by requesting from sub domains like *.domain.com (I need to include all sub domains)
Has anybody managed to achieve this kind of functionnality? If so, how you did it ?
4 Replies
Cookies | Better Auth
Learn how cookies are used in Better Auth.
I didn't managed to make that work
What went wrong ?
I just didn't manage to make it work on production, every time I try to sign in with this auth settings, it sign ins, then goes to the dashboard and the dashboard issues a 307 redirect to sign in because the user is not signed in
The catch here is I don't have any trusted urls also, I am trying to make it work for *.domain.com because I want my users to have their own subdomain, so I cannot have a clear list of sub domains on sign in, idk if it is possible to make something work
Didn't work on dev also, but I am not sure if it is possible to make it work locally