Skip to content

feat(auth_bypass): add authentication bypass for local development an…#3

Open
Ritika-Bitcot wants to merge 7 commits intodevfrom
feat/step3
Open

feat(auth_bypass): add authentication bypass for local development an…#3
Ritika-Bitcot wants to merge 7 commits intodevfrom
feat/step3

Conversation

@Ritika-Bitcot
Copy link
Owner

@Ritika-Bitcot Ritika-Bitcot commented Oct 6, 2025

changes made

  • Add AUTH_BYPASS_EMAIL configuration setting
  • Implement @jwt_required_with_bypass decorator for all protected routes
  • Support development mode with automatic user authentication
  • Maintain production security with JWT token validation
  • Add comprehensive logging for bypass activity
  • Update all recipe and auth routes to use new decorator
  • Add documentation and testing guidelines
  • Fix fail testcase due to implementation of auth bypass.

Screenshot

development environment
Screenshot from 2025-10-06 12-52-06
Screenshot from 2025-10-06 12-51-50

production environment
Screenshot from 2025-10-06 12-50-44
Screenshot from 2025-10-06 12-50-08

…d testing

- Add AUTH_BYPASS_EMAIL configuration setting
- Implement @jwt_required_with_bypass decorator for all protected routes
- Support development mode with automatic user authentication
- Maintain production security with JWT token validation
- Add comprehensive logging for bypass activity
- Update all recipe and auth routes to use new decorator
- Add documentation and testing guidelines
- Fix settings caching issue by using fresh settings instances
- Ensure proper log level filtering for all environments
- Add comprehensive validation for LOG_LEVEL and LOGGER_TYPE
- Improve environment-specific formatting (JSON for prod/testing, human-readable for dev)
- Add proper testing support for all log levels
- Fix line length issues and code formatting
- Ensure consistent logging behavior across development, production, and testing
@Ritika-Bitcot Ritika-Bitcot self-assigned this Oct 6, 2025
@Ritika-Bitcot Ritika-Bitcot added the enhancement New feature or request label Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant