A WordPress plugin that provides Headless login and authentication for WPGraphQL, supporting traditional passwords, OAuth2/OpenID Connect, JWT, and more.
This release adds support for a special Site Token provider, which allows users to authenticate with a custom Header and a external resource identity. It also adds support for setting Access Control headers, and removes the loginWithPassword
mutation in favor of a Password
provider that can be used with login
mutation.
loginWithPassword
mutation in favor of Password provider.$_SESSION
.codecept_debug()
call in plugin src
.ProviderConfig
methods.oauthResponse
input optional.graphql_login_before_password_authenticate
in favor of the existing graphql_login_before_authenticate
filter.graphql_login_after_successful_password_login
in favor of the existing graphql_login_after_successful_login
filter.graphql_login_access_control_settings
filter.WP_AUTO_UPDATE_CORE
and AUTOMATIC_UPDATED_DISABLED
when spinning up a Docker instance.OAuth2 Generic
provider.Full Changelog: https://github.com/AxeWP/wp-graphql-headless-login/compare/0.0.5...0.0.6
vendor-prefixed
.function_exists()
checks.Full Changelog: https://github.com/AxeWP/wp-graphql-headless-login/compare/0.0.4...0.0.5
This release adds support for setting a WP Authentication Cookie on successful login, as well as compatibility with WPGraphQL for WooCommerce. It also fixes a handful of bugs, and backfills/refactors CI tests.
LoginProviderEnum
names. This is a breaking change, as the name for Generic - OAuth2 is now GENERIC_OAUTH2
.loginWithPassword
mutation.Access-Control-Expose-Headers
when adding X-WPGraphQL-Login-Refresh-Token
.graphql_get_login_setting()
.401
for user ID of 0
when validating authentication tokens.WPGraphQL::debug()
instead of constant when adding headers.wp_login
action on successful login.minimum_supported_wp_version
.INCLUDE_EXTENSIONS
env variable for running 3rd-party plugin tests.Cept
tests to Cest
format.NONE
provider enum.Utils::is_current_user()
with empty user supplied.TypeRegistry::get_registered_types()
.Full Changelog: https://github.com/AxeWP/wp-graphql-headless-login/compare/0.0.3...0.0.4
This release adds support for Instagram and LinkedIn OAuth 2.0 providers, and fixes various typos and styling issues.
linkExistingUsers
field was moved from the LoginOptions
interface, to the individual {Provider}LoginOptions
objects that implement that setting.loginOptions.linkExistingUsers
to {Provider}LoginOptions
..
from title and action strings.Full Changelog: https://github.com/AxeWP/wp-graphql-headless-login/compare/0.0.2...0.0.3
WPGraphQL
(required: v1.12.0) and WPGraphQL-JWT-Authentication
(conflicted) plugins.wp-graphql-headless-login.php
.src/Type/WPObject/LoginOptions.php
Full Changelog: https://github.com/AxeWP/wp-graphql-headless-login/compare/0.0.1...0.0.2
Initial public release of Headless Login for WPGraphQL.
Previous commit history can be found in the old private repo