summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorArnold Daniels <arnold@jasny.net>2015-10-06 11:47:14 +0200
committerArnold Daniels <arnold@jasny.net>2015-10-06 11:47:14 +0200
commiteb32b47d1c7fc26821e166f18458c36e694d25df (patch)
tree72851755849ed80e8b2194650aceddb10d1cf2dd /README.md
parent25498281f5d229dbf001f2e9c40a7f433d19cd8c (diff)
downloadsso-eb32b47d1c7fc26821e166f18458c36e694d25df.zip
sso-eb32b47d1c7fc26821e166f18458c36e694d25df.tar.gz
sso-eb32b47d1c7fc26821e166f18458c36e694d25df.tar.bz2
Update README.md
How is this different from OAuth?
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 779e5f7..c412f94 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,17 @@ using the same session. When another broker joins in, it will also use the same
For a more indepth explanation, please [read this article](https://github.com/jasny/sso/wiki).
+#### How is this different from OAuth?
+
+With OAuth, you can authenticate a user at an external server and get access to their profile info. However you
+aren't sharing a session.
+
+A user logs in to website foo.com using Google OAuth. Next he visits website bar.org which also uses Google OAuth.
+Regardless of that, he is still required to press on the 'login' button on bar.org.
+
+With Jasny/SSO both websites use the same session. So when the user visits bar.org, he's automatically logged in.
+When he logs out (on either of the sites), he's logged out for both.
+
## Installation
Install this library through composer