Saltearse al contenido

index

Esta página aún no está disponible en tu idioma.

function studiocmsGoogle(): StudioCMSPlugin

Defined in: studiocms/packages/@studiocms/google/src/index.ts:29^

Creates and returns the StudioCMS Google Plugin.

This plugin integrates Google OAuth authentication into StudioCMS. It defines the necessary configuration, including the required environment variables, OAuth provider details, and the endpoint path for authentication.

StudioCMSPlugin

The configured StudioCMS Google Plugin instance.

  • Requires the following environment variables to be set:
    • CMS_GOOGLE_CLIENT_ID
    • CMS_GOOGLE_CLIENT_SECRET
    • CMS_GOOGLE_REDIRECT_URI
  • Minimum supported StudioCMS version: 0.1.0-beta.22
  • Registers the Google OAuth provider with a custom SVG logo.

Renames and re-exports studiocmsGoogle