index
Esta página aún no está disponible en tu idioma.
Functions
Section titled “Functions”studiocmsGoogle()
Section titled “studiocmsGoogle()”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.
Returns
Section titled “Returns”StudioCMSPlugin
The configured StudioCMS Google Plugin instance.
Remarks
Section titled “Remarks”- 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.
References
Section titled “References”default
Section titled “default”Renames and re-exports studiocmsGoogle