Hello everyone,
I’m currently working on a project that involves integrating OTP (One-Time Password) authentication into my Bubble.io application using ClickSend SMS for sending the OTP codes. While I’ve managed to set up the API and send SMS messages, I’m facing some challenges with the OTP verification and user login process.
Here’s what I’ve accomplished so far:
- API Integration: Successfully sending OTP codes via ClickSend SMS.
- UI Setup: Created input fields and buttons for entering phone numbers and OTP codes.
However, I’m encountering difficulties with the following:
- Verifying OTP: Checking if the entered OTP matches the one sent and handling OTP expiry.
- User Login: Logging in the user without relying on email and password, as I’m focusing on phone-based authentication.
Specific Areas Where I Need Help:
- Custom Workflow for OTP Verification: Guidance on setting up workflows in Bubble.io to verify the OTP code and handle expired codes.
- Managing User Sessions: Suggestions on how to manage user sessions and simulate a login process without using email and password.
If anyone has experience with similar integrations or can provide advice on best practices, I would greatly appreciate your help. Please let me know if you have any resources, tips, or if you’re available for a more detailed discussion.
Thank you in advance for your support!
Best regards,