-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Auth enables itself out of nowhere and randomly goes away after reboot. #813
Comments
Adding the below to the config provides a one-time opportunity to register a username and password at the onboarding url. webserver: If someone can provide some background on the expected behavior of this, I'd be glad to create a PR. A. Should having no B. Can more than one user be added? The /#/onboarding url redirects to /#/login after a single user is added. C. Are there other valid auth params? D. Is my "fix" above correct? Should it remain working? I could spend days debugging to answer those myself, but I'm not sure if I'd understand the intent, just the current state. I'd like a little background on the expected behavior and functionality of the auth flow, so I'm not documenting or fixing them in incompatible ways. I'll have a fair amount of time to hack on this software, we're adopting it where I work. I'd much prefer working on the code to move it the direction you want vs. creating a fork with different capabilities. |
Auth enabling on its own should not be possible, could you provide more information on how to reproduce?
The viseron/viseron/components/__init__.py Line 82 in cff837d
Atm no, only the first user can be added. There is no reason for that other than me having limited time.
Could you elaborate a bit more on what you mean here?
Awesome! Would love some contributions, I am pretty much the solo developer on this project. The API supports creating users already:
So basically all that has to be done to support multiple users is the UI portion. |
Hi, I've just found this project and I love it. Is simple but complete and in couple of hours I've managed to run on my Synology. The only thing is missing is the user part to put on a public domain so I join this discussion! |
Great to hear you are enjoying Viseron! I intend to circle back to this at some point but can't promise when, have been busy with #716 |
Good for me, how I enable that? I don't remember to ser that in the documentation. |
You enable it by adding webserver:
auth: And then the next time you restart Viseron and open the interface you will be redirected to an onboarding page where you can create your first user. |
Done...awesome!!! |
Everything else rocks, broken auth makes it all useless.
The text was updated successfully, but these errors were encountered: