Aller au contenu

index

Ce contenu n’est pas encore disponible dans votre langue.

function studiocmsAuth0(): StudioCMSPlugin

Defined in: studiocms/packages/@studiocms/auth0/src/index.ts:33^

Registers the StudioCMS Auth0 plugin.

This plugin integrates Auth0 as an OAuth provider for StudioCMS, enabling authentication via Auth0. It sets up the necessary configuration, including required environment variables and endpoint path.

StudioCMSPlugin

The configured StudioCMS Auth0 plugin.

  • The following environment variables must be set:
    • CMS_AUTH0_CLIENT_ID
    • CMS_AUTH0_CLIENT_SECRET
    • CMS_AUTH0_DOMAIN
    • CMS_AUTH0_REDIRECT_URI
import { studiocmsAuth0 } from '@studiocms/auth0';
const plugin = studiocmsAuth0();

Renames and re-exports studiocmsAuth0