Skip to content

jamesedmonston/graphql-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Authentication plugin for Craft CMS 4.0+

GraphQL Authentication adds a JWT authentication layer to your Craft CMS GraphQL endpoint.

Plugin Overview

  • Adds support for user registration and authentication (see Authentication)
  • Adds support for Two-Factor Authentication (see Two-Factor Authentication)
  • Adds support for Magic Link Authentication (see Magic Authentication)
  • Adds support for social sign-in – currently Google, Facebook, Twitter, Apple, and Microsoft (see Social)
  • Adds ability to define per-section user restrictions (queries and mutations can be limited to author-only) (see User Settings)
  • Checks mutation fields against schema permissions, and prevents fields being saved if user is trying to access private entries/assets
  • Adds ability to assign unique schemas for each user group
  • Adds ability to restrict user queries and mutations to Craft multi-site sites
  • Adds ability to mark fields as private – stopping users from querying/mutating fields on entries
  • Adds a unique, per-user query cache

Use the table below to determine which version of the plugin you should install.

Craft CMS Version Plugin Version
5 3
4 2
3 1

Documentation

You can view the documention for the plugin here.