Quick Start
The busy developer's guide to getting up and running in no time.
Suppose we wanted to add GitHub as a SSO provider to our application located at myssoapp.com
Register app with GitHub
Navigate to https://github.com/settings/developers.

Click the "New OAuth App" button to bring up the following form.

Gather Client Credentials
Once your app is registered you will see a screen with your client credentials. You need to get the provided client ID as well as generate a new client secret. Make sure you save it! Many systems do not allow you see the secret after it is first generated!

Configure cbSSO Module Settings
This can be configured in either your ColdBox.cfc or in config/modules/cbSSO.cfc
Implement CBSSOAuthorization Event
Now that our app is registered with GitHub and our client credentials have been configured in our module settings, we must handle the event. This is done through an interception point.
Render SSO Options to User
The final step is to prevent our SSO options to a user.
Last updated
Was this helpful?