Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
joewiz opened this issue Nov 30, 2020 · 8 comments
Closed

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

joewiz opened this issue Nov 30, 2020 · 8 comments
Labels

Comments

@joewiz
Copy link
Member

joewiz commented Nov 30, 2020

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.

@adamretter
Copy link
Contributor

@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!

@joewiz joewiz added the bug label Mar 12, 2021
@JoernT
Copy link
Member

JoernT commented Mar 15, 2021

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. ?

@adamretter
Copy link
Contributor

I am using latest Chrome on macOS 11.2.3.

@JoernT
Copy link
Member

JoernT commented Mar 16, 2021

same here - hm, any plugins?

@adamretter
Copy link
Contributor

@JoernT Nope.

@JoernT
Copy link
Member

JoernT commented Mar 16, 2021

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

@adamretter
Copy link
Contributor

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

@plutonik-a
Copy link

plutonik-a commented Mar 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants