Skip to content

#69 - JWT Tokens could not be returned after regiserUser mutation#72

Merged
jasonbahl merged 1 commit intowp-graphql:developfrom
jasonbahl:bug/#69-jwt-could-not-be-returned-after-user-registered
Feb 13, 2020
Merged

#69 - JWT Tokens could not be returned after regiserUser mutation#72
jasonbahl merged 1 commit intowp-graphql:developfrom
jasonbahl:bug/#69-jwt-could-not-be-returned-after-user-registered

Conversation

@jasonbahl
Copy link
Copy Markdown
Collaborator

  • This updates the mutations to expect a User model to be passed through instead of a WP_User object
  • This also updates some of the errors to be more clear, passing through WP_Error messages
  • This also returns null when the user cannot access the JWT Secret instead of throwing an error.

Closes #69

…tation

- This updates the mutations to expect a User model to be passed through instead of a WP_User object
- This also updates some of the errors to be more clear, passing through WP_Error messages
- This also returns null when the user cannot access the JWT Secret instead of throwing an error.
@jasonbahl jasonbahl added the bug label Feb 13, 2020
@jasonbahl jasonbahl self-assigned this Feb 13, 2020
@jasonbahl jasonbahl merged commit 999e0d0 into wp-graphql:develop Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JWT token could not be returned

1 participant