After running the registration endpoint, I tried passing the return session to email_otp_which would call get_user_by_id function,
upon query from the database, I noticed the session_verified saved in the database is different from the one being generated returning constant_time_compare function to always be false hence returning errors.
What am I doing wrong?
Can you please assist with the correct workflow?
After running the registration endpoint, I tried passing the return session to email_otp_which would call
get_user_by_id
function,upon query from the database, I noticed the session_verified saved in the database is different from the one being generated returning
constant_time_compare
function to always be false hence returning errors.What am I doing wrong? Can you please assist with the correct workflow?