This module improves error messages for the Simple OAuth module by adding specific error codes to JSON responses. It provides clearer feedback to users when issues arise, such as incorrect credentials, blocked user accounts, or blocked IP addresses.
The Simple OAuth Enhanced Errors module enhances error messages in responses
from the Simple OAuth module to better indicate the user what went wrong.
This is done by adding a error property to the JSON response with a specific
error code.
The following generic error responses are enhanced:
- PasswordGrant when user credentials are incorrect:
- If the user account has no password set, the error code
no_password_setis added to the response. - If the user has been blocked by the
floodmodule:
user_blockedis added to the response. - If the user's IP address has been blocked by the
floodmodule:
ip_blockedis added to the response.
- If the user account has no password set, the error code
Ask your assistant about Simple OAuth Enhanced Errors
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 10 | Jan 15, 2024 |