Home / Function/ ExternalAuthButtonSection() — supabase Function Reference

ExternalAuthButtonSection() — supabase Function Reference

Architecture documentation for the ExternalAuthButtonSection() function in RoleImpersonationPopover.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx lines 89–98

const ExternalAuthButtonSection = ({ sub }: { sub: string }) => {
  return (
    <div className="flex gap-1 items-center pl-0.5 pr-1.5 h-[21px] bg-surface-200 rounded-full overflow-hidden">
      <div className="rounded-full w-[18px] h-[18px] bg-surface-100 border flex items-center justify-center text-light">
        <IconUser size={12} strokeWidth={2} />
      </div>
      <span className="truncate max-w-[84px]">{sub}</span>
    </div>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free