More Premium Hugo Themes Premium React Themes

Remix Auth Sso

An SSO strategy for Remix Auth, based on the OAuth2Strategy

Remix Auth Sso

An SSO strategy for Remix Auth, based on the OAuth2Strategy

Author Avatar Theme by boxyhq
Github Stars Github Stars: 18
Last Commit Last Commit: Oct 21, 2023 -
First Commit Created: Jan 15, 2024 -
Remix Auth Sso screenshot

Overview

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.

Features

  • Deprecated the earlier strategy BoxyHQSAMLStrategy and introduced BoxyHQSSOStrategy
  • Provides support for Single Sign-On (SSO) in a remix app
  • Extends the OAuth2Strategy
  • Abstracts away complexities of the underlying SAML/OIDC protocol
  • Can be deployed as a separate service
  • Supports Node.js and Cloudflare runtimes

Installation

To use BoxyHQSSOStrategy in your remix app, follow these steps:

  1. Install the strategy package:
npm install @boxyhq/boxyhq-sso-strategy
  1. Create an instance of the strategy:
const BoxyHQSSOStrategy = require('@boxyhq/boxyhq-sso-strategy');
const ssoStrategy = new BoxyHQSSOStrategy(options);
  1. Setup your routes to handle the SSO flow:
app.get('/auth/sso', ssoStrategy.authenticate());
app.get('/auth/sso/callback', ssoStrategy.authenticate(), (req, res) => {
  // Handle successful authentication
});
  1. Refer to the documentation for more configuration details and usage examples.

Summary

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.