summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic BERLEMONT <ludovic.berlemont@oxand.com>2016-03-23 12:00:26 +0100
committerLudovic BERLEMONT <ludovic.berlemont@oxand.com>2016-03-23 12:00:26 +0100
commitb88f17608b258f8f831e3f02e8bb39632a0fbfe1 (patch)
tree549ff0ca2ed8c8b91371f968d125dc95c358a747
parent43be77400104f4a250802259f4641607ac27094f (diff)
downloadsso-b88f17608b258f8f831e3f02e8bb39632a0fbfe1.zip
sso-b88f17608b258f8f831e3f02e8bb39632a0fbfe1.tar.gz
sso-b88f17608b258f8f831e3f02e8bb39632a0fbfe1.tar.bz2
Update readme for broker name and secret notice
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index e40bb60..ff815e8 100644
--- a/README.md
+++ b/README.md
@@ -102,6 +102,8 @@ For more information, checkout the `server` example.
When creating a Jasny\SSO\Broker instance, you need to pass the server url, broker id and broker secret. The broker id
and secret needs to be registered at the server (so fetched when using `getBrokerInfo($brokerId)`).
+**Be careful**: *The broker id and broker secret cannot contain the "-" character.*
+
Next you need to call `attach()`. This will generate a token an redirect the client to the server to attach the token
to the client's session. If the client is already attached, the function will simply return.