-
I'm trying to verify an account using the JSON endpoint |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If you're using HMACs (default in rodauth-rails), the verification key needs to be sent in HMAC'd to the endpoint (just like it appears in the verification email). If it matches directly what's in the database, it's likely the raw key instead of HMAC'd. |
Beta Was this translation helpful? Give feedback.
-
That was it. Thank you! |
Beta Was this translation helpful? Give feedback.
-
I guess that was only a part of the problem. Turns out you also have to prefix the key with |
Beta Was this translation helpful? Give feedback.
If you're using HMACs (default in rodauth-rails), the verification key needs to be sent in HMAC'd to the endpoint (just like it appears in the verification email). If it matches directly what's in the database, it's likely the raw key instead of HMAC'd.