Redirecting to SSO

Redirecting to Okta…

Hold tight — we're taking you to your identity provider to finish signing in.

Not redirected automatically? Continue manually

About this block

Redirecting to SSOPRO

Full-height loading screen shown while redirecting to an identity provider, with a spinner and a manual-continue fallback link. Perfect for SSO and OAuth handoff states.

Auth44: Redirecting to SSO

A full-height centered card that shows a spinning Loader2 badge above an optional heading and description, plus an optional fallback prompt line ending in a manual-continue link, for use as the interstitial while an SSO or OAuth handoff redirects to an identity provider.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/auth44?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/auth44?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/auth44.tsx.

Quick start

The installed file exports auth44Demo alongside the block: the exact props behind the preview above. Spread it to get a working redirect screen in one line.

tsx
import { Auth44, auth44Demo } from "@/components/beste/block/auth44";

export default function Page() {
  return <Auth44 {...auth44Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Auth44 } from "@/components/beste/block/auth44";

export default function Page() {
  return (
    <Auth44
      heading="Redirecting to Okta…"
      description="Hold tight, we're taking you to your identity provider."
      fallbackPrompt={{
        text: "Not redirected automatically?",
        linkLabel: "Continue manually",
        href: "https://beste.co",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
headingstring–Main title rendered as an <h1>; omitted entirely when falsy
descriptionstring–Supporting line under the heading; omitted entirely when falsy
fallbackPrompt{ text: string; linkLabel: string; href: string }–Manual-continue line with trailing link; omitted entirely when falsy
classNamestring–Extra classes merged onto the outer <section>
ts
type FallbackPrompt = {
  text: string;
  linkLabel: string;
  href: string;
};

Behavior notes

  • The block ships no redirect logic of its own: the actual navigation to the identity provider is left to the integrator, and the component only renders the waiting UI.
  • The Loader2 spinner badge is always rendered via animate-spin; it is decorative and has no loading state, prop, or completion callback tied to it.
  • Each text region is conditionally rendered: heading, description, and fallbackPrompt are only emitted when truthy, so passing none yields a card containing just the spinner.
  • The fallback link is a Next.js Link pointing at fallbackPrompt.href with no onClick or interception, so it performs a plain client navigation to whatever URL you supply.
  • The outer <section> fixes min-h-screen and vertically centers its content, so the block expects to own the full viewport height rather than sit inside a constrained container.
  • No props are lifted into internal useState; the component is fully controlled by its props and holds no state of its own.

More Auth blocks

View all Auth
PRO

auth14

Enterprise SSO Sign In

PRO

auth17

Signed Out Confirmation

PRO

auth46

Confirm It's You

Get Pro access