Home / Function/ getIntegrationTypeDescription() — supabase Function Reference

getIntegrationTypeDescription() — supabase Function Reference

Architecture documentation for the getIntegrationTypeDescription() function in IntegrationCard.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  23223922_1c87_cbb8_adb8_3a48c44dcd0b["getIntegrationTypeDescription()"]
  a8b0d122_606c_776f_0aa7_a4fa46d11298["IntegrationCard()"]
  a8b0d122_606c_776f_0aa7_a4fa46d11298 -->|calls| 23223922_1c87_cbb8_adb8_3a48c44dcd0b
  style 23223922_1c87_cbb8_adb8_3a48c44dcd0b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx lines 21–103

export const getIntegrationTypeDescription = (type: INTEGRATION_TYPES) => {
  switch (type) {
    case 'firebase':
      return (
        <>
          Allow users to use Supabase with Firebase project. You'll need to setup RLS policies for
          all tables that you want to access with a Firebase JWT token. Additionally, you'll need to
          add custom code to set the <code>authenticated</code> role to all your present and future
          users. You can read more in the{' '}
          <a
            className="hover:decoration-brand underline hover:text-foreground transition"
            href={`${DOCS_URL}/guides/auth`}
          >
            documentation
          </a>
          .
        </>
      )

    case 'auth0':
      return (
        <>
          Allow users to use Supabase with Auth0 project. Additional setup may be required. You can
          read more in the{' '}
          <a
            className="hover:decoration-brand underline hover:text-foreground transition"
            href={`${DOCS_URL}/guides/auth`}
          >
            documentation
          </a>
          .
        </>
      )
    case 'awsCognito':
      return (
        <>
          Allow users to use Supabase with an Amazon Cognito. Additional setup may be required. You
          can read more in the{' '}
          <a
            className="hover:decoration-brand underline hover:text-foreground transition"
            href={`${DOCS_URL}/guides/auth/third-party/aws-cognito`}
          >
            documentation
          </a>
          .
        </>
      )

    case 'clerk':
      return (
        <>
          Allow users to use Supabase with Clerk. Additional setup may be required. You can read
          more in the{' '}
          <a
            className="hover:decoration-brand underline hover:text-foreground transition"
            href={`${DOCS_URL}/guides/auth/third-party/clerk`}
          >
            documentation
          </a>
          .
        </>
      )

    case 'workos':
      return (
        <>
          Allow users to use Supabase with WorkOS. Additional setup may be required. You can read
          more in the{' '}
          <a
            className="hover:decoration-brand underline hover:text-foreground transition"
            href={`${DOCS_URL}/guides/auth/third-party/workos`}
          >
            documentation
          </a>
          .
        </>
      )

    case 'custom':
    default:
      return 'Custom'
  }
}

Subdomains

Called By

Frequently Asked Questions

What does getIntegrationTypeDescription() do?
getIntegrationTypeDescription() is a function in the supabase codebase.
What calls getIntegrationTypeDescription()?
getIntegrationTypeDescription() is called by 1 function(s): IntegrationCard.

Analyze Your Own Codebase

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

Try Supermodel Free