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

Login form page ? #695

Closed
vocuzi opened this issue Feb 9, 2022 · 3 comments
Closed

Login form page ? #695

vocuzi opened this issue Feb 9, 2022 · 3 comments
Labels
question Further information is requested

Comments

@vocuzi
Copy link

vocuzi commented Feb 9, 2022

Any plans on adding a login form page instead of the browser HTTP auth ?

If that's not possible in near future, I would love to have any pointers on how I can start with a login page myself. Any help is appreciated.

@knadh
Copy link
Owner

knadh commented Feb 9, 2022

Yep, a proper non-BasicAuth multi-user system is on the roadmap. This is being tracked here: #543

@knadh knadh closed this as completed Feb 9, 2022
@knadh knadh added the question Further information is requested label Feb 9, 2022
@vocuzi
Copy link
Author

vocuzi commented Feb 9, 2022

Can you help me with any pointers on a custom makeshift login page till the non-basicauth system is rolled out ?

@knadh
Copy link
Owner

knadh commented Feb 9, 2022

Without context on how and where you want to achieve this, as a part of listmonk or an external page, it's difficult to answer. If it's to setup an external page, listmonk uses HTTP BasicAuth so Googling something along the lines of html form for basicauth should come up with useful answers.

A standalone static HTML page that does this should work.

HTML form -> onSubmit(), make a fetch() call to /admin/dashboard with the Authorization headers constructed with the username and password from the form, browser caches the auth from that point on, redirect to /admin/dashboard.

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

No branches or pull requests

2 participants