Wp Graphql Jwt Authentication Versions Save

Authentication for WPGraphQL using JWT (JSON Web Tokens)

v0.7.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.4.0...v0.7.0

v0.6.0

1 year ago

Release Notes

fix: fixes a bug where all headers were being replaced instead of adding headers. Thanks, and happy anniversary @tsmith-rv. feat: When the GRAPHQL_JWT_AUTH_SET_COOKIES constant is set to true, WordPress will set the cookies upon successful authentication with JWT Auth. Thanks @henrikwirth!

New Contributors

Full Changelog: https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.5.2...v0.6.0

v0.5.2

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.5.1...v0.5.2

v0.5.1

2 years ago

v0.5.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/wp-graphql/wp-graphql-jwt-authentication/compare/v0.4.1...v0.5.0

v0.4.1

4 years ago

Release Notes

Breaking changes

  • Potential breaking change. The filter graphql_jwt_auth_expire has been fixed to take the filtered value and add it to the issue date. So, you can use the filter, return a value of 600 and that will add 600 seconds to the issue date, and your token will expire 10 minutes after issue. If you were using this filter already, and were doing this math yourself, you should update to just return the number of seconds after issue you would like the token to expire.

Bugfixes

  • Fixes (and adds documentation for) graphql_jwt_auth_expire filter. Thanks @henrikwirth!

New Features

  • Updates underlying Firebase\JWT dependency. Thanks @efoken!
  • Ensures users cannot use the plugin without first defining the GRAPHQL_JWT_AUTH_SECRET_KEY

v0.4.0

4 years ago

Release Notes

Breaking Changes

From a GraphQL Consumer perspective there shouldn't be any breaking changes. The shape of queries and mutations remain the same in this release.

Some internal functions were modified, so for plugins that extend this (i.e. WPGraphQL for WooCommerce) it's best to check your use of internal functions for how changes may affect your code.

If anything, this should fix things that previously broke when updating to WPGraphQL v0.5.0/v0.6.0 support.

New Features

  • Removed /tests/_output directory from being versioned and added it to .gitignore
  • Updates to README.md to show more mutations. Thanks @henrikwirth!

Bugfixes

  • Prevent execution of GraphQL Queries when an invalid token is passed through Authorization headers. If a Token is bad, the entire request should halt execution and let the requestor have a chance to try again with a proper token. Fixes #38 and #21
  • Fixes some regression issues with WPGraphQL v0.6.0 (fixes #69)

v0.3.5

4 years ago

Release Notes

Bugfix

  • This fixes a regression from the v0.3.4 release where the ManageTokens.php file was attempting to execute a method from WPGraphQL that has been deprecated and removed.

v0.3.4

4 years ago

Release Notes

  • update Coveralls.yml
  • update Travis.yml
  • update to README.md
  • update to bin/install-wp-tests.sh
  • update composer.json
  • update phpcs.ruleset.xml
  • pass id through with the login resolver to allow added fields to have access to the id
  • convert fields to use register_graphql_fields API instead of filtering the WPObjectType directly
  • add new graphql_jwt_user_types filter
  • update field definitions to not rely on Types:: static methods which was deprecated by WPGraphQL in v0.6.0

v0.3.3

4 years ago

Release Summary

  • Updates the registration of the login mutation to use regsiter_graphql_mutation so that the mutation payload can be filtered for additional output fields.
  • Fixes issues with the test environment