-
Notifications
You must be signed in to change notification settings - Fork 74
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
JWT token could not be returned #69
Labels
Comments
15 tasks
@henrikwirth just to clarify, this mutation was working on previous versions just fine? Is this a regression or something that's been broken for a while? |
@jasonbahl It works fine with the versions described here: https://github.com/NeverNull/gatsby-apollo-wpgraphql-jwt-starter#gatsby-apollo-wpgraphql-jwt-starter |
@henrikwirth ok thanks. That helps. I'll see what I can find out! |
jasonbahl
added a commit
to jasonbahl/wp-graphql-jwt-authentication
that referenced
this issue
Feb 13, 2020
…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
added a commit
that referenced
this issue
Feb 13, 2020
…ed-after-user-registered #69 - JWT Tokens could not be returned after regiserUser mutation
jasonbahl
added a commit
to jasonbahl/wp-graphql-jwt-authentication
that referenced
this issue
Feb 14, 2020
jasonbahl
added a commit
to jasonbahl/wp-graphql-jwt-authentication
that referenced
this issue
Feb 14, 2020
…ard compatiblity for passing WP_User or User (model) through to some resolvers
jasonbahl
added a commit
that referenced
this issue
Feb 14, 2020
…ed-after-user-registered Bug/#69 jwt could not be returned after user registered
jasonbahl
added a commit
to jasonbahl/wp-graphql-jwt-authentication
that referenced
this issue
Feb 14, 2020
…GraphQL for WooCommerce
jasonbahl
added a commit
that referenced
this issue
Feb 14, 2020
…ed-after-user-registered #69 - Backward Compatibility fixes for playing nice with WPGraphQL for WooCommerce
jasonbahl
added a commit
that referenced
this issue
Feb 17, 2020
…69-jwt-could-not-be-returned-after-user-registered # Conflicts: # wp-graphql-jwt-authentication.php
jasonbahl
added a commit
that referenced
this issue
Feb 17, 2020
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be a bug with the newest versions:
WPGraphQL: 0.6.1
JWT: 0.3.5
When doing the
registerUser
mutation like so:The user gets registered, but the response is the following:
So it seems for some reason inside ManageTokens.php the following calls don't work as intended:
Also the error message of refresh token should be different to the one from the token.
The text was updated successfully, but these errors were encountered: