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="jane@acme.dev"
          scopes={["read:profile", "write:projects"]}
        />
      </div>
    </div>
  );
}

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3