An SSO strategy for Remix Auth, based on the OAuth2Strategy
BoxyHQSSOStrategy is a strategy that can be used to enable Single Sign-On (SSO) in a remix app. It extends the OAuth2Strategy and provides support for SAML Jackson Service. With SSO, users can seamlessly authenticate and access multiple products or services without the need to log in separately for each one.
To use BoxyHQSSOStrategy in your remix app, follow these steps:
npm install @boxyhq/boxyhq-sso-strategy
const BoxyHQSSOStrategy = require('@boxyhq/boxyhq-sso-strategy');
const ssoStrategy = new BoxyHQSSOStrategy(options);
app.get('/auth/sso', ssoStrategy.authenticate());
app.get('/auth/sso/callback', ssoStrategy.authenticate(), (req, res) => {
// Handle successful authentication
});
BoxyHQSSOStrategy is a strategy for enabling Single Sign-On (SSO) in a remix app. It provides support for the SAML Jackson Service, abstracting away complexities of the underlying SAML/OIDC protocol. The strategy can be easily installed and configured, allowing users to authenticate once and access multiple products or services seamlessly.