Supabase

OAuth Consent Card

Cards 3

About

A consent screen card that shows an OAuth client requesting access to a user's account, with the requested scopes, redirect URI and signed-in account, plus allow/deny actions.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds OAuth Consent Card to your project and fits it to your theme.

Code

How OAuth Consent Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import OAuthConsentCard from "@/components/ui/oauth-consent-react";

export default function OAuthConsentDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-6">
      <div className="w-full max-w-sm">
        <OAuthConsentCard
          clientName="Acme CLI"
          productName="Acme Cloud"
          redirectUri="https://acme.dev/oauth/callback"
          email="[email protected]"
          scopes={["read:profile", "write:projects"]}
        />
      </div>
    </div>
  );
}

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    301
  • Statistics Card 2

    Statistics Card 2

    272
  • Stats cards with links

    Stats cards with links

    82
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    184
  • Card Studio

    Card Studio

    35
  • Card

    Card

    70
  • Card

    Card

    18