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

Questions about Basic Auth Implementation #74

Open
sachinjain024 opened this issue Oct 22, 2018 · 0 comments
Open

Questions about Basic Auth Implementation #74

sachinjain024 opened this issue Oct 22, 2018 · 0 comments

Comments

@sachinjain024
Copy link

I am using dash-auth (Basic Auth) in my dash app. I want to improve the login experience for the user and want to provide change password etc functionality.

For this, I wanted to convert the login dialog into a simple HTML login form with a link to change password. I tried to reverse engineer and explore the code in dash-auth module but didn't get much luck. Here are my primary questions

  1. Where is the JS code which receives the username and password from login dialog and submit to server ?
  2. Where is the code which sets the Authorization header before every request to the server?
  3. At client side where are we storing the value set in Authorization header ?
  4. Where is the code which renders the dialog for username and password.

Please let me know if anything else I would need in order to implement above use case or if there is a better existing implementation which I can reuse.

Thanks!

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

No branches or pull requests

1 participant