Enabling Integration
CBSSO is buitl to be cbAuth aware out of the box. Setting up cbAuth is very similiar to writing your own interceptor for a custom implementation but reduces the boilerplate and is much more organized.
Module Settings
Wherever you have configured your cbSSO settings you will need to set enableCBAuthIntegration
to true
.
By enabling this setting cbSSO will register an interceptor that provides the basic pattern for receiving a response from an SSO provider and connecting it to a user. While cbSSO is able to enforce a general pattern for handling the SSO authentication flow it needs the application to provide some specific functionality. It does this through interacting with your application's implementation of cbAuth's IUserService
.
Necessary IUserService Additions
Integrating cbSSO and cbAuth requires that your IUserService
implement the following functions.
Running It
Once these pieces are all in place you should have a fully working SSO implementation fully integrated with cbAuth!
Last updated