@studiocms/google
v0.1.0-beta.30
Published
Add Google OAuth Support to your StudioCMS project with ease!
Downloads
208
Readme
@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 paths for authentication.
Usage
Add this plugin in your StudioCMS config. (studiocms.config.mjs)
import { defineStudioCMSConfig } from 'studiocms/config';
import google from '@studiocms/google';
export default defineStudioCMSConfig({
// other options here
plugins: [google()]
});Required ENV Variables
CMS_GOOGLE_CLIENT_IDCMS_GOOGLE_CLIENT_SECRETCMS_GOOGLE_REDIRECT_URI
