axepress/wp-graphql-headless-login

A WordPress plugin that provides headless login and authentication for WPGraphQL

Installs: 1 991

Dependents: 0

Suggesters: 0

Security: 0

Stars: 54

Watchers: 1

Forks: 10

Open Issues: 6

Type:wordpress-plugin


README

Headless Login for WPGraphQL Logo

Headless Login for WPGraphQL

A WordPress plugin that provides headless login and authentication for WPGraphQL, supporting traditional passwords, OAuth2/OpenID Connect, JWT, and more.

Packagist License Packagist Version GitHub commits since latest release (by SemVer) GitHub forks GitHub Repo stars
CodeQuality Integration Coding Standards Coverage Status

Description

Headless Login for WPGraphQL is a flexible and extensible plugin that allows headless WordPress sites to login and authenticate users via WPGraphQL using a variety of authentication methods, including traditional WordPress credentials (username/password), OAuth 2.0 / OpenID Connect, JSON Web Tokens (JWT), and more.

This plugin is inspired by and aims to replace WPGraphQL JWT Authentication as more powerful, comprehensive, and flexible authentication solution for Headless WP.

System Requirements

  • PHP 7.4-8.2+
  • WordPress 6.0+
  • WPGraphQL 1.14.0+

Quick Install

  1. Install & activate WPGraphQL.
  2. Download the latest release .zip file, upload it to your WordPress install, and activate the plugin.
  3. Enable and configure the authentication providers you want to use in GraphQL > Settings > Headless Login.

With Composer

composer require axepress/wp-graphql-headless-login

Updating and Versioning

Until we hit v1.0, we're using a modified version of SemVer, where:

  • v0.x: "Major" releases. These releases introduce new features, and may contain breaking changes to either the PHP API or the GraphQL schema
  • v0.x.y: "Minor" releases. These releases introduce new features and enhancements and address bugs. They do not contain breaking changes.
  • v0.x.y.z: "Patch" releases. These releases are reserved for addressing issue with the previous release only.

Development and Support

Development of Headless Login for WPGraphQL is provided by AxePress Development. Community contributions are welcome and encouraged.

Basic support is provided for free, both in this repo and in WPGraphQL Slack.

Priority support and custom development are available to our Sponsors.

68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d53706f6e736f7225323055732532302534302532304178655750266d6573736167653d254532253944254134266c6f676f3d47697448756226636f6c6f723d253233666538653836267374796c653d666f722d7468652d6261646765

Supported Features

The following functionality is currently supported:

Usage

Getting Started ( 🎯 You are here! )

Core Concepts

Reference

Recipes:

Testing

  1. Update your .env file to your testing environment specifications.
  2. Run composer install to get the dev-dependencies.
  3. Run composer install-test-env to create the test environment.
  4. Run your test suite with Codeception. E.g. vendor/bin/codecept run wpunit will run all WPUnit tests.