Django-discord-oauth2

Latest version: v0.2.0

Safety actively analyzes 688215 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.0b3

0.3.0beta.3

New Features:
- **Debug Mode Error Handling:**
- Enhanced error handling in the `discord_callback` view to improve debugging during development.
- When Django's `DEBUG` mode is enabled and a POST request to the `DISCORD_POST_URL` fails, the library will now return the raw error response from the server. This allows developers to see the full debug page, making it easier to identify and diagnose issues.

Bug Fixes:
- None in this release.

Improvements:
- **Improved Developer Experience:**
- Developers can now better understand what went wrong during OAuth2 interactions when developing locally, thanks to the direct display of error pages in debug mode.

Upgrade Notes:
- To take advantage of the improved error handling, ensure that Django's `DEBUG` mode is set to `True` during development.
- This release primarily benefits development environments; production environments will continue to handle errors by returning a JSON response with the error details.

Known Issues:
- CSRF token error's

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.