- Update WordPress 6.6 Compatibility
- Fix revoked token validation when middleware enabled #110
- Update README
- Refactor Protect Endpoints
- Add OAuth support for Google #97
- Fix status code for expired tokens #102
- Update WordPress 6.5 Compatibility
- Fix licence in composer.json
- Update WordPress 6.4 compatibility
- Fix change user password with revoked JWT
- Change routes priority from floats to int and fix deprecation message "Implicit conversion from float to int loses precision"
- Add
iss
to JWT payload and allow to configure it - Fix user meta on register user #86
- Fix calling protected endpoints with revoked token #75
- Update WordPress 6.3 compatibility
- Fix warnings and failed tests on PHP 8.2
- Publish code coverage to codecov
- Fix unable to create post issue when protect endpoints is enabled for all endpoints #62
- Search user by email on reset password #31
- Switch
get_user_by_email
toget_user_by()
due to deprecation - Remove method
convertUserToArray
from WordPressData. - Drop support for PHP 5.3 and PHP 5.4
- Fix issue with rest routes ( Issue introduced by
3.4.9
)
- Add Strength indicator for JWT decryption key
- Allow setting custom length for random password. The default is 10 characters.
- Allow sending base_64 encoded
password
andpasshash
on the/auth
endpoint - Fix issue with
includeRequestParameters
that has been building incorrect URLs - Add query parameters filter on autologin redirect
- Add the
simple_jwt_login_before_endpoint
hook before all simple-jwt-login routes are initialized
- Add filter to allow the change for authentication payload
- Change how we log in the user on while using the "protect endpoint" feature
- Refactor Route Service getUserFromJWT method
- Update License to GPL v3
- Sanitize data from request
- Fix password that contains special characters #50
/auth/validate
endpoint supports bothGET
andPOST
methods
- Remove code vulnerability from the JWT library
- Stay on current page after saving settings
- Some small text sanitizations
- Add "roave/security-advisories" to composer, in order to detect used packages vulnerabilities
- Change how views are loaded in order to prevent "local file inclusion risk"
- Add more rules in phpstan
- Fix user_meta when passed as json in request body
- Add Redirect on Fail autologin
- Add shortcodes for displaying autologin errors
- Add xdebug to docker
- Add openapi file
- Add hooks for all success responses
- Tested with WordPress 5.9
- Do not add empty JWT to Authorization header
- Display user roles on auth/validate and on register user
- Fix protect endpoint conflict with wp-admin actions
- Check if user role exists
- Improve logic for protect endpoints
- Allow Authentication with DB hashed password
- Change user password with JWT
- Implement protected endpoints
- Improve code coverage
- Sanitize load views
- Sanitize all displayed texts
- Add missing translation texts
- Update bootstrap libraries
- Update all translations
- Improve random password algorithm for better security
- Fix CSRF for admin settings
- #10: Add user to simple_jwt_login_register_hook and simple_jwt_login_login_hook hooks
- #9: Add option to allow adding a JWT in the register user endpoint
- Fix Auth Codes title on Authentication page
- Add Reset password and Send Reset password endpoints
- Plugin code refactor
- Rewrite file auto-loaded
- Improve parse request parameters
- Add support for JSON body requests
- Fix user_meta URL encoded
- Add support for Force Login plugin
- Add Auth codes to dashboard
- Add IP limitation for Authentication
- Add support for Delete user by username
- Add support for
*
in IP restrictions - Fix user role
None
when empty role in Auth Codes - Add Auth code on Authentication endpoint
- Update documentation link with the plugin website URL
- Add documentation link
- Add
No Redirect
option for autologin and respond with a json on this endpoint - Add Hook for
No redirect
in order to customize the autologin response
- Add permission callback to api routes
- Use session start only when session token has been activated
- Fix Authorization header
- Add key change for URL, Session, Cookie and Header parameters
- Add more variables for
redirectUrl
- Add
redirectUrl
parameter - Add variables for URLs
- Fix session start warning
- Highlight Settings errors and display section
- fix PHP warning for session_start()
- Add support for revoke token: /auth/revoke
- Allow adding extra parameters in payload on /auth endpoint
- Add filter on /auth in order to allow payload modification
- Add support for user_meta on create user
- Allow users to set decryption key in WordPress PHP code
- Display number of active hooks on dashboard
- Improve error system from plugin settings
- Fix warning for "register_rest_route was called incorrectly"
- Fix getting JWT from the header: ignore white spaces
- Allow users to store base64 encoded decryption keys and use them as decoded when needed
- Fix issue with saving JWT algorithm
- Allow usage of certificates in order to encode/decode JWT
- Add option to add username in JWT payload
- Users can authenticate with WordPress username for /auth endpoint
- Allow login by username ( user_login )
- beta: Allow users to access private endpoints via API with JWT
- Fix tabs visibility issue on some WordPress versions
- Add a toggle for all hooks
- Fix CORS issue
- Attach plugin version to js and css
- Change the path for js and css files
- Change the load order for the JS files
- Fix issue with bootstrap
- Add /auth/validate endpoint to validate tokens and get some details about the user that it is present in the JWT
- Fix error for auto-login after registering user
- Add support for CORS
- Include request parameters used for login link in the REDIRECT URL
- Add initial request data to the hook simple_jwt_login_redirect_hook call
- Add expiration date and user role to AUTH Codes
- New UI for plugin configuration
- Allow users to enable/disable specific hooks
- Add route for JWT generator
- Add route that refreshes an expired JWT
- Allow custom user_login for new users.
- Add WP_user in create user response
- Fix route PHP warning
- Add a hook that is called before the user it is redirected to the page he specified in the login section.
- Add plain text password to register user hook
- Update documentation
- Add option for a random password on new created users
- Add option 'Initialize force login after register' - that allows users to continue on the auto-login flow after user registration
- Add more options for create new user
- Add more options when a new user is created
- Improve mechanism for detecting if plugin needs update/create for DB option
- Add new option to get JWT from '$_COOKIE' and '$_SESSION'
- Update readme
- Fix save settings with minimum number of parameters ( No auth codes if all options are disabled)
- Add hooks for login, register and create User.
- Ignore case for JWT parameter
- JWT can be added in header
- Update Readme
- Allow delete users based on a JWT token
- Refactor routes section
- Allow users to set custom namespace for API route
- Change create user route name and offer support for backward compatibility
- Add codes to errors
- Code refactor
- Allow save in settings with no AUTH_KEYS when they are not used
- Improve sample URL generators
- Small UI Changes
- Fix validations
- Keep settings values even if there is an error
- Update readme
- Plugin can be configured only by administrators
- Add support for translations
- Code refactor
- Improve UI for Auth codes
- Update Readme
- Allow users to change Auth Key parameter
- Add support for getting key from jwt and array
- Add functionality for copy login and register example URL
- Allow login by email or WordPress user ID
- UI / UX small improvements
- Add support for IP address limitation for login / register
- Allow users to register only with emails from specific domains
- Possibility to make requests without Auth Codes
- Initial release