JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q72550F
  • License MIT

Add GitHub OAuth Support to your StudioCMS project.

Package Exports

  • @studiocms/github

Readme

@studiocms/github Plugin

codecov

This plugin integrates GitHub as an OAuth authentication provider for StudioCMS. It sets up the necessary authentication service, including the provider's name, endpoint paths and required environment variables.

Usage

Add this plugin in your StudioCMS config. (studiocms.config.mjs)

import { defineStudioCMSConfig } from 'studiocms/config';
import github from '@studiocms/github';

export default defineStudioCMSConfig({
    // other options here
    plugins: [github()]
});

Required ENV Variables

  • CMS_GITHUB_CLIENT_ID
  • CMS_GITHUB_CLIENT_SECRET
  • CMS_GITHUB_REDIRECT_URI

License

MIT Licensed.