diff options
author | Ludovic BERLEMONT <ludovic.berlemont@oxand.com> | 2016-03-23 12:00:26 +0100 |
---|---|---|
committer | Ludovic BERLEMONT <ludovic.berlemont@oxand.com> | 2016-03-23 12:00:26 +0100 |
commit | b88f17608b258f8f831e3f02e8bb39632a0fbfe1 (patch) | |
tree | 549ff0ca2ed8c8b91371f968d125dc95c358a747 | |
parent | 43be77400104f4a250802259f4641607ac27094f (diff) | |
download | sso-b88f17608b258f8f831e3f02e8bb39632a0fbfe1.zip sso-b88f17608b258f8f831e3f02e8bb39632a0fbfe1.tar.gz sso-b88f17608b258f8f831e3f02e8bb39632a0fbfe1.tar.bz2 |
Update readme for broker name and secret notice
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |