Aller au contenu

index

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

function studiocmsDiscord(): StudioCMSPlugin

Defined in: studiocms/packages/@studiocms/discord/src/index.ts:27^

Creates and returns the StudioCMS Discord Provider Plugin.

This plugin integrates Discord as an OAuth authentication provider for StudioCMS. It sets up the necessary configuration, including the required environment variables, OAuth endpoint, and SVG logo for Discord.

StudioCMSPlugin

The configured StudioCMS Discord Provider Plugin.

  • Requires the following environment variables to be set:
    • CMS_DISCORD_CLIENT_ID
    • CMS_DISCORD_CLIENT_SECRET
    • CMS_DISCORD_REDIRECT_URI

Renames and re-exports studiocmsDiscord