eXist-db/dashboard

[BUG] Logging in shouldn't require duplicate entry of credentials

Closed this issue · 8 comments

Almost every time I open dashboard and try to log in to a dba-only resource, I have to authenticate twice, via these dialogs:

Screen Shot 2020-11-29 at 9 04 17 PM
Screen Shot 2020-11-29 at 9 05 14 PM

In addition, when tabbing out of the password field in the dialog shown in the 1st screenshot above, the focus should be on the Submit button, so that the form can be submitted via spacebar.

@joewiz I can confirm that I have seen the same problem for longer than I can remember. I always assumed the issue was something with my browser as no-one else seemed to have mentioned it. Thanks for confirming it's not just me!

hm, would have liked to look into that. However i cannot reproduce that and also haven't experienced that before (which makes it kind of hard to fix it ;)

Could you guys give more details like OS, Browser (Version) etc. ?

I am using latest Chrome on macOS 11.2.3.

same here - hm, any plugins?

that's crazy - seems we have exact same configurations in respect to that and i never experienced this issue.

@joewiz You also reported this. Perhaps you could share the details of your setup?

Hi @JoernT
I experience the same behavior and would like to provide info on my setup:

  • eXist Version : 5.1.1
  • Dashboard 2.0.6

I have openend the developer tools and tracked the network when requesting http://localhost:8080/exist/apps/dashboard/index.html and after submitting the login overlay, and I have observed the console logs.

This is was happens:

  1. The first stack of calls prompted in the network tab:

Screenshot 2021-03-24 at 17 37 23

2. Then I get redirected again to the login page with the embedded login dialog - this shows the stack trace of the second login:

Screenshot 2021-03-24 at 17 37 41

3. The console also shows the ajax call has been made twice:

Screenshot 2021-03-24 at 17 35 00