Skip to content

v0.9.2: Email OTP Authentication Fix

Choose a tag to compare

@keithah keithah released this 14 Sep 00:14
· 43 commits to main since this release

πŸ” Email OTP Authentication Fix

This release resolves issue #30 where users were experiencing 403 authentication errors when Monarch Money required email verification codes during login.

πŸ› Bug Fixes

  • Fixed Email OTP Support: Authentication service now properly handles 6-digit email verification codes
  • Improved Code Detection: Library automatically detects email OTP vs TOTP codes and uses the correct API field
  • Better Error Handling: More informative error messages for authentication issues

🎯 New Features

  • Interactive Email OTP Demo: Added examples/email_otp_demo.py with step-by-step guidance for testing email verification flow
  • Enhanced User Experience: Clear instructions and troubleshooting tips for email verification

πŸ”§ Technical Changes

  • Email codes (6-digit) are sent using email_otp field
  • TOTP codes (from authenticator apps) continue to use totp field
  • Updated authentication service to match main client behavior
  • Added comprehensive error handling and user guidance

πŸ“¦ Installation

pip install --upgrade monarchmoney-enhanced==0.9.2

πŸ§ͺ Testing Email OTP

If you've been experiencing email verification issues, try the new interactive demo:

python3 examples/email_otp_demo.py

This will walk you through the entire email OTP process step-by-step.


Full Changelog: v0.9.1...v0.9.2