Can I create two better auth configs on the same server,I am using Elyisa Js
Have two sub domains
a.domain.com
b.domain.com
I used a single better auth config and the sign up and sign process where working just fine.
Then I noticed that sub domain b can login to sub domain a, now that should not be allowed.
So I am asking is creating two better auth config on the auth server good if so how do I do that,
Else if one is the way how do I restrict the users in sub domain b form accessing a.
Also I have tried the double auth setup but for some reason the second auth config does not get picked up by the auth server running Elyisa and the working auth config for domain a does not send session cookies to the sub domain a.
Also the DB in use is mongodb.
0 Replies