tiddlyhost / tiddlyhost-com

Rails application for creating and hosting TiddlyWiki sites, plus resources for deploying it to https://tiddlyhost.com/
Other
184 stars 17 forks source link

Failing to login: 422 Unprocessable Entity #315

Open YakovL opened 1 year ago

YakovL commented 1 year ago

Today, I've tried to login into Tiddlyhost on a smartphone and got "422 Unprocessable Entity". I've tried again, and the error persists (both with and without the "remember me" checkbox checked).

The error takes place in Vivaldi mobile 6.1, but not in Chrome mobile, so it is probably an issue of Vivaldi (I'll send one referring to this issue). Still, help with this is welcome, may be additional info can be found in logs, or an educated guess of what's going on. The only educated guess I have for now is that there can be a problem with encoding or decoding either email or the password.

PS Ok, this is, in fact, connected with encoding: changing the password so that it only contains latin letters and numbers made it possible to login (both with and without the "remember me" option). Adding # to password reproduces the issue. Could you provide links to the corresponding view and controller? I've failed to find them quickly.

simonbaird commented 1 year ago

Thats interesting - thanks for the report. I'll see if I can reproduce.

The auth handling in Tiddlyhost is done with devise.

Garonne commented 1 year ago

I have the same issue with Chrome (mobile) though I only have latin letters in my PW...

Edit: Opera Touch seems to work fine for me, though.