Can you do SSO across different domain names?
# support-questions-legacy
d
Can you do SSO across different domain names?
r
we can do it across different sub domain names, but not yet across different base domains
since we are not yet an oauth provider - but are working on it
that being said, you can always customise your way to build that on top of supertokens
d
idk if i would use oath
they're all domains we own and host
not trying to integrate with anything we dont have / no social media
consolidating login creds for several websites
into one SSO
not sure if that means account linking or concatenation of DBs yet
r
right. In that case, the common login domain (lets call it auth.exmaple.com), can send the JWT back to the target app via a redirect URL and then the target app can consume the JWT to make its own session
it doesn't mean account linking
d
The difference between account linking and SSO is about the process right? The accounts can be linked by the users vs SSO is already done by us?
r
not really
account linking is allowing a user to login as the same user ID even if they used different methods for logging in
SSO on the other hand is about allow different apps to login via the same user pool through a common login portal
d
so if a user already has accounts on 3 different websites with the same or different logins (we dont know), then we are trying to figure out the optimal way of connecting them.
1) we connect all the ones with the same email address automatically 2) they have to reach out to connect others, or we have some "link your other accounts" feature
r
i see. So this is account linking. Will the login forms be on each of the the websites or will it all go away and you have just one common login form for all?
d
not sure what is optimal yet
it would be nice if we could link all the accounts for users but some have used different emails across the sites
Each site would have its own login screen I guess
and own registration process, but they do all collect the same info during registration
hmmm
r
i see. So that would be possible once we have the account linking feature - which is also in progress
until then, you would have to maintain the linking yourself - which can be a pain
d
good to know, thanks... I still need to flesh out what the process should be despite the auth solution I choose
r
fair enough
d
Like 3 sister websites having the same login/registration page would be confusing to the user...
So each one should have its own logo I guess
Even if there is SSO between them...
Do you think that qualifies as a SSO / account linking hybrid system?
r
yea, pretty much - but it really depends on the flow you want
d
ok much apprecaited