Skip to content

SSO for multi-domain project #1248

Answered by aeneasr
ditschedev asked this question in Q&A
Apr 20, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hey there, glad you like Ory Kratos! :)

So currently cross-domain is simply not possible for browser flows. What I wanted to do was to take the YouTube approach to cross-domain SSO but keep in mind that for every domain you add you also add a redirect. If you have thousands of TLDs you will go through thousands of redirects.

The redirect can not be removed! It is required in order for the cookies to be set.

If we talk about implementation, I think the first step would be to analyze and understand how YouTube achieves it (not in Chrome but e.g. Firefox!) or see if there is research on this topic. Then make a plan and implement it :)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@dm17
Comment options

Answer selected by ditschedev
Comment options

You must be logged in to vote
1 reply
@ditschedev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants