Skip to content

Commit

Permalink
Merge pull request jasny#29 from Octen/broker-name-secret-notice
Browse files Browse the repository at this point in the history
Update readme for broker name and secret notice
  • Loading branch information
jasny committed Apr 8, 2016
2 parents 43be774 + b88f176 commit 4fb6708
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 4fb6708

Please sign in to comment.