One Login To Rule them All - Seamless and Secure Cross-Domain Authentication - Paragon Initiative Enterprises Blog
paragonie.com·1d
🛡️Open Policy Agent
Preview
Report Post

Problem: You want to create a system whereby when a user authenticates to example.com, they’re also automatically logged in at foo.com, bar.com, baz.com, and any other domains that you decide to add to the list at a later date.

Okay, great, that seems straightforward, except there’s a complication: The Same Origin Policy prevents you from getting/setting cookies on domains other than the one you control. (Unless your users’ browser foolishly disables the Same Origin Policy like Comodo did).

Let’s narrow it down a little bit further: Unlike a situation where e.g. "Login with Facebook" would be appropriate, you control all of the domains. They just happen to be different, so the Same Origin P…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help