/
Contact usSee pricingStart building
    Overview
    Changelog
    Installation

    Pre-built UI

    StytchB2B
      Configuration
      Callbacks
      Text Customization
      Component Playground
    Admin Portal
      SSO
      Org Settings
      Member Management
      SCIM
    B2BIdentityProvider
      Configuration
      UI Callbacks

    Headless

    Organizations
      Get Organization
      Get Organization by Slug
      Update Organization
      Delete Organization
      Get Organization Connected Apps
      Get Organization Connected App
    Members
      Get Member
      Create Member
      Update Member
      Search Members
      Delete Member
      Reactivate Member
      Delete Member Password
      Delete Member MFA Phone Number
      Delete Member MFA TOTP
      Unlink Retired Member Email
      Start Member Email Update
      Update Self
      Delete Self Password
      Delete Self MFA Phone Number
      Delete Self MFA TOTP
      Unlink Retired Self Email
      Start Self Email Update
      Update Member (Deprecated)
      Delete Member MFA Phone Number (Deprecated)
      Get Member Connected Apps
      Get Self Connected Apps
      Revoke Member Connected App
      Revoke Self Connected App
    RBAC
      Is Authorized
      Permissions
    Email Magic Links
      Login or Signup
      Invite
      Authenticate
      Send Discovery Email
      Authenticate Discovery Magic Link
    Email One-time Passcodes (OTPs)
      Login or Signup
      Authenticate OTP
      Send Discovery Email OTP
      Authenticate Discovery Email OTP
    OAuth
      Start OAuth Flow
      Google One Tap
      Authenticate
      Start Discovery OAuth Flow
      Discovery Authenticate
    Session Management
      Get Session
      Authenticate Session
      Revoke Session
      Update Session
      Exchange Session
      Get Tokens
      Revoke Sessions for Member
      Attest Session
      Exchange Access Token
    SSO
      Start SSO Flow
      Authenticate
      Get SSO Connections
      Discover SSO Connections
      Delete SSO Connection
      Create SAML Connection
      Update SAML Connection
      Update SAML Connection by Metadata URL
      Delete Verification Certificate
      Create OIDC Connection
      Update OIDC Connection
      Create External Connection
      Update External Connection
    Discovery
      List Discovered Organizations
      Create Organization via Discovery
      Exchange Intermediate Session
    Passwords
      Authenticate
      Reset by Email Start
      Reset by Email
      Reset by Existing Password
      Reset by Session
      Strength Check
    • Discovery

      • Authenticate
        Reset by Email Start
        Reset by Email
    SCIM
      Create SCIM Connection
      Update SCIM Connection
      Delete SCIM Connection
      Get SCIM Connection
      SCIM Token Rotation Start
      SCIM Token Rotation Complete
      SCIM Token Rotation Cancel
      Get SCIM Connection Groups
    Multi-Factor Authentication
    • One-Time Passcodes

      • SMS Send
        SMS Authenticate
    • Time-Based One-Time Passcodes

      • TOTP Create
        TOTP Authenticate
    • Recovery Codes

      • Recovery Codes Recover
        Rotate Recovery Codes
        Get Recovery Codes
    Impersonation
      Authenticate
    Connected Apps
    • Consent Management

      • Start OAuth Authorization
        Submit OAuth Authorization

    More Resources

    Cookies & session management
    SWR & caching
    TypeScript
Get support on SlackVisit our developer forum

Contact us

B2B SaaS Authentication

/

Frontend SDKs

/

Pre-built UI

/

Admin Portal

/

SSO

AdminPortalSSO

The AdminPortalSSO component allows organization members with the required RBAC roles to manage SSO connections for their organization.

AdminPortalSSO must be wrapped inside a StytchB2BProvider. Take a look at our installation guide for more information on how to configure the StytchB2BProvider for your framework.

Admin Portal SSO UI


Fields


styles object

The style configuration allows you to customize the look of the Admin Portal. You can specify some of them or none at all. We'll use our defaults for the ones you don't specify.

container object

The configuration object for the Admin Portal container.

backgroundColor string

The background color of the Admin Portal container.

borderColor string

The border color of the Admin Portal container.

borderRadius string

The border radius of the Admin Portal container.

width string

The width of the Admin Portal container.

colors object

The configuration object for colors used in the Admin Portal.

primary string

Your primary brand color. This will be applied to most of the text in the Admin Portal.

secondary string

Your secondary brand color. This will be applied to text disclaimers and other visual elements.

success string

A success color to be used in visual elements.

error string

An error color to be used in visual elements.

accentText string

The text color for accent elements. This will be used for tags and select chips in the Admin Portal.

accent string

An accent color to be used in visual elements. This will be applied to the background of tags and select chips in the Admin Portal.

subtle string

The color used for miscellaneous elements that don't require visual elements, like dividers and table, popover menu, and accordion borders.

buttons object

The configuration object for buttons in the Admin Portal.

primary object

The configuration object for primary buttons

backgroundColor string

The background color of the primary button.

textColor string

The text color of the primary button.

borderColor string

The border color of the primary button.

borderRadius string

The border radius of the primary button.

secondary object

The configuration object for secondary buttons

backgroundColor string

The background color of the secondary button.

textColor string

The text color of the secondary button.

borderColor string

The border color of the secondary button.

borderRadius string

The border radius of the secondary button.

disabled object

The configuration object for disabled buttons

backgroundColor string

The background color of the disabled button.

textColor string

The text color of the disabled button.

borderColor string

The border color of the disabled button.

borderRadius string

The border radius of the disabled button.

inputs object

The configuration object for text inputs in the Admin Portal.

backgroundColor string

The background color of the text inputs.

textColor string

The text color of the text inputs.

placeholderColor string

The color of the placeholder text in the text inputs.

borderColor string

The border color of the text inputs.

borderRadius string

The border radius of the text inputs.

fontFamily string

The font family that will apply to text in the Admin Portal.

borderRadius string

The default border radius for elements in the Admin Portal.


config object

The configuration object for the Admin Portal SSO UI.

getRoleDisplayName (role) => string

A function that returns the display name for a role. By default, the role.role_id is used as the display name.

getRoleDescription (role) => string

A function that returns the description for a role. By default, the role.description is used as is.

import { AdminPortalSSO } from '@stytch/react/b2b/adminPortal';
import React from 'react';

const styles = { fontFamily: 'Arial' };

const MyComponent = () => {
  return <AdminPortalSSO styles={styles} />;
};

export default MyComponent;