Trouble Logging In (Already Signed in as Guest)
@mihairosu I was able to duplicate the issue.
- I created a basic user (Guest) with no associated roles as user (Admin)
- In Administration > UI Settings > Set Auto login for all clients for user (Guest)
- Signed out of user (Admin)
- Now as user (Guest) could not sign out of user (Guest) or sign in as user (Admin) and see same 401 warning in logs as you have shown.
The work around was to change the user (Guest) password so auto login would not work. At this point I was able to sign in as whichever user I needed.
I will have to discuss with our development team about the issue. Thank you for finding this.
Glad to hear it, and thanks for the work around.
Sorry quick question. If I give the guest user a password, will that prevent anonymous users from being able to see the dashboards?
I don't know if it's possible to remove a password so I don't want to break all of our kiosk screens showing Mango dashboards.
@mihairosu If you remove the password or change it you will no longer be able to use the auto login feature on the kiosks unless you match the password again.
Well these are remote displays and they run the dashboards in Chrome Incognito so I don't want the hassle of having to get on VNC or God-forbid a wireless mouse and keyboard to enter a login for them.
I'll leave things as they are for now until another solution appears.
@mihairosu if it's running in a kiosk with an auto open, make it log in with the user and password as params. Problem solved.
Oh I missed that part, but I see it now in the documentation.
It looks like I already had this setting enabled. According to this, the guest user has, or should have, the password guest. I assume it wouldn't work otherwise:
I cannot find the "Auto-login (local)" page under "Administration", as the documentation mentions, which would override this.
Is it safe to say that my problem is not because my guest user is missing a password?
@mihairosu no not auto login, you go to a page with the ?user=bla&password=pass so you can access the site and use it as a kiosk for your guest.
Nah I did get that. I just thought from all the information I've received, it seems to me that our current configuration should also work just fine.
Anyway, I may have to resort to that; It's a good option.
edit: nevermind just had to clear all browsing data.