Can't verify accounts in a Rails 7.1 app #268
-
Hi there, Not sure what the reason is. Edit: It is a new Rodauth install in a Rails full stack app. And I don't think this issue was happening before, as my auth test would pass occasionally, but it just won't anymore. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could you post the corresponding SQL logs? Can you see anything from them gives a clue why the verify account key (or the account) wouldn't get found? Do you have some special Rodauth configuration that affects querying, such as handling different account types? I can only guess, it would be ideal if you could reproduce this in the official demo app. |
Beta Was this translation helpful? Give feedback.
Do you have
convert_token_id_to_integer?
set totrue
in your Rodauth configuration? If yes, you need to set it tofalse
, because you're using a string primary key on accounts. I think that might be converting the UUID in the token tonil
, and considering token as invalid.