Configuration
component {
public any function configure(){
return {
// enable this for cbAuth integration
"enableCBAuthIntegration": false,
// where cbSSO should redirect when a SSO has an unhandled error
"errorRedirect": "",
// where cbSSO should redirect after a successful proecess
// you probably won't need this and will instead want to redirect manually
// in the CBSSOOnAuthorization interception event
"successRedirect": "",
// enable this for easy integration with cbSecurity
// see the "CBSecurity Integration" section for more information
"enableCBSecurityIntegration": false,
// register your SSO providers
"providers" : [
{
// name is optional, can be used to control the redirect uri
// with name: https://your.app.com/cbsso/auth/fbook
// without name: https://your.app.com/cbsso/auth/Facebook
name: "fbook",
type: "FacebookProvider@cbsso",
// these values are configured with Microsoft and available in your app dashboard
clientId: "YOUR-CLIENT-ID",
clientSecret: "YOUR-CLIENT-SECRET"
}
]
};
}
}The enableCBSecurityIntegration Setting
Last updated
Was this helpful?