bootssecurity-auth-otp
v2.1.24
Published
An OTP Auth Provider for Medusa 2.x with auto auth-identity creation
Maintainers
Readme
🔧 Key Features
- Automatic Auth Identity Creation: Automatically creates auth identities when they don't exist, eliminating "Auth identity not found" errors
- Seamless Integration: Drop-in replacement for the original @perseidesjs/auth-otp plugin
- Enhanced Error Handling: Robust error handling with detailed logging for debugging
- Backward Compatible: Maintains full compatibility with existing implementations
🚀 Installation
npm install bootssecurity-auth-otp🆚 Migration from @perseidesjs/auth-otp
Simply replace the package in your dependencies:
npm uninstall @perseidesjs/auth-otp
npm install bootssecurity-auth-otpThe plugin maintains the same API and configuration, so no code changes are required.
🐛 Bug Fixes
This version fixes the critical "Auth identity not found" error that occurred when:
- Users exist in the system but don't have corresponding auth identities
- OTP authentication attempts fail due to missing auth identity records
The fix automatically creates the necessary auth identity records, allowing OTP authentication to proceed seamlessly.
📝 Changelog
2.1.3
- ✨ NEW: Automatic auth identity creation when missing
- 🐛 FIXED: "Auth identity not found" error during OTP generation
- 🔧 IMPROVED: Enhanced error handling and logging
- 📚 UPDATED: Documentation with migration guide
Documentation
Access the documentation for the package, by clicking "here"
