Step 2: I fill my details in and proceed to the site.
Step 3: I am automatically redirected to an âundefined userâ page instead of my personal profile. This is new as of no more than a week. As it may be seen on the screenshot, my profile is well logged in, as one can see when hovering my avatar in the upper right corner.
Step 4: Clicking on my avatar finally leads me to my profile.
as itâs a regular user page, I think something triggered the search of it and now your browser just remembered this page, when you log in browser always directs you to the page you opened initially, so it leads me to believe itâs the page that is saved in its memory. Could you provide what your bookmark looks like to see if itâs true or not?
i donât have time to look deeply into this this morning, but if someone else wants to look into it first, the couple of things i would check first are:
that the connexion link is taking chris971 to /users/sign_in instead of /login. for someone trying to reproduce the problem, i would have them try to logging in through /users/sign_in. or for someone trying to avoid the problem, i would have them try logging in through https://www.inaturalist.org/login. (i thought i saw something recently where for most languages you should be directed to /login now, but obviously chris971 is still being directed to /users/sign_in for some reason. i wonder which language he is set up for?)
it looks like he might be signing in using an e-mail address rather than an iNaturalist login. that should be fine either, but i wonder if that triggers a slightly different path for logging in? so for someone trying to reproduce the problem, i would try logging in via e-mail, and for someone trying to avoid the problem, i would try logging in using iNaturalist login.
I confirm that when trying to open the /home page if not logged in, I am redirected to /users/sign_in ant not to /login.
The second problem is that it is not a systematic issue. I would say, it happens every day for my first logging to the website (btw, I am working with the French language enabled). But for instance, I just have logged in again this afternoon, and have been correctly redirected to my personal profile page after hitting the âConnexionâ button (yes, always not yet rememberedâŠ). So, unfortunately, it is still a âsometimes happeningâ issue.
Iâll try tomorrow to log in with my username instead and see what happens.
that said, i wasnât able to find a way to consistently reproduce your problem. i couldnât reproduce anything like what you were describing in Firefox at all, and i couldnât reproduce anything like that in Chrome either. i was able to encounter a slight bug(?) in Edge which was similar but not exactly what you were describing. for a while, i thought i had found a pattern that would consistently reproduce my problem in Edge, but then it stopped being consistent, and now i canât reproduce the problem at all. so i think whatever the problem was is going to be really hard to track down without a lot of effort.
the reason that i suspect that will help you avoid the problem is that logging in through https://www.inaturalist.org/users/sign_in seemed to be one of the required triggers for the problem that i saw. below is the set of steps that seemed to lead to the small bug(?) that i saw. it was very consistent over many repetitions, until it wasnât:
start signed out of iNaturalist and without Edge open.
sign in using iNaturalist user ID (not e-mail), making sure you check the Remember Me option. upon a successful login, you should be redirected to https://www.inaturalist.org/home.
sign out of iNaturalist.
close Edge. wait a moment to make sure itâs fully close down.
clicking the browser reload button or clicking on the pageâs link to log in will then redirect me to https://www.inaturalist.org/home without having to actually log in.
so the problem encountered in step 8 was not exaclty what you were seeing, but i suspect they are related. itâs hard to tell now, since i can no longer consistently reproduce the problem, and i think the better course of action rather than trying to go after whatever this problem might be is just to work around the problem for now until iNat staff can have https://www.inaturalist.org/home redirect to https://www.inaturalist.org/login when it needs you to log in.
Iâm getting the error too. From memory it seems to happen when the remember me box is unselected on the login and I select it prior to logging in. If that box is already activated it doesnât happen.
Should add it only started doing this 4 or 5 days ago.
As i needed to log in this morning to be able to check my messages, it was prior to read your long text. So I just did what I had planned yesterday, logging in with my ID (not my email), but from my usual bookmark. So /home took me to /users/sign_in, and hitting âConnexionâ opened again the undefined user page.
Well the 1st thing I need is for the site to for whatever reason âforgetâ me which I donât know how to manually force, but which seems to happen every 2 to 3 days for me.
uploading an observation (or uploading a dummy observation and then deleting it) works for me and at least a couple of others. the next time you close and reopen your browser, you should be forced to log in when you go to the iNat website.
then this means that you did not encounter the problem that i saw and youâre still just getting your Remember Me selection revoked.
i think for now (unless anyone else can describe a set of consistent steps to reproduce your issue), you should just try to change your shortcut from https://www.inaturalist.org/home to https://www.inaturalist.org or https://www.inaturalist.org/login and see you still ever get redirected to the undefined page after that. (hopefully that small change will prevent the problem.)