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

Release v0.5.0 #153

Merged
merged 16 commits into from
Apr 15, 2022
Merged

Release v0.5.0 #153

merged 16 commits into from
Apr 15, 2022

Conversation

jasonbahl
Copy link
Collaborator

@jasonbahl jasonbahl commented Apr 15, 2022

Release Notes

Chores/Bugfixes

  • (#137): Set 400+ status code when throwing WP_Errors. Thanks @pcraciunoiu!
  • (#141): Allow multiple iss domains (multisite support). Thanks @fjobeir!
  • (#126): Fix incorrect error message on invalid secret. Thanks @markspolakovs!
  • Updates to docs, updates to test environment

New Features

  • Updates dependency firebase/jwt-auth to v6.1.0
  • (#135): Adds:
    • new action**: graphql_jwt_auth_before_authenticate
    • new filter: graphql_jwt_auth_after_authenticate
    • Thanks @spiralni!

henrikwirth and others added 16 commits August 27, 2020 12:36
If a token with an invalid secret key is passed, the error returned will be `The iss do not match with this server` when the `iss` field is set correctly. This PR fixes that.
…graphql_jwt_auth_after_authenticate to hook before and after the authentication process
Allow multiple domains to be used as token iss value and make your token valid over several domains
Set a 400+ status when throwing WP_Errors
Allow multiple iss domains
Added the action graphql_jwt_auth_before_authenticate and the filter …
Fix incorrect error message on invalid secret
- add constant to config.php to define the token
- enable graphql debug mode
- change message about defining JWT Secret from exception to graphql_debug message
- update encode/decode signatures to use new Key method
- remove HTTP_AUTHORIZATION from test setup
- update some tests
…v0.5.0

# Conflicts:
#	wp-graphql-jwt-authentication.php
@jasonbahl jasonbahl self-assigned this Apr 15, 2022
@jasonbahl jasonbahl merged commit b98b94e into master Apr 15, 2022
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.

6 participants