Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the action graphql_jwt_auth_before_authenticate and the filter … #135

Merged
merged 1 commit into from
Apr 15, 2022

Conversation

spiralni
Copy link

@spiralni spiralni commented May 9, 2021

…graphql_jwt_auth_after_authenticate to hook before and after the authentication process

Usage examples:

action: graphql_jwt_auth_before_authenticate
I want to validate that a user has certain capability to login using graphql, e.g 'can_use_app' capability

filter: graphql_jwt_auth_after_authenticate
I want to pass more info in the response payload

…graphql_jwt_auth_after_authenticate to hook before and after the authentication process
@jasonbahl jasonbahl merged commit 38ed240 into wp-graphql:develop Apr 15, 2022
@jasonbahl jasonbahl self-assigned this Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants