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

Add account authentication support and fix VM urls #5

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

elijahr2411
Copy link
Contributor

@elijahr2411 elijahr2411 commented Apr 8, 2024

  • I don't know why I decided to do this but here we are
  • Account sign-in works, registration and password resets can also be implemented later on
  • tokens are saved to tokens.json in the current working directory and are automatically re-used
  • The login form is all HTML for hcaptcha support. I could have made the username and password fields WinForms controls but the form would have to be unreasonably large to accomodate the captcha, so it's better to have it all in a WebBrowser so the captcha can cover the other fields
  • hCaptcha refuses to load from a local source, so the form has to be remote. I've put it at https://collabhost.computernewb.com/collabvm-csharp-login.php (The PHP is just to load the hcaptcha site key from a query param, since i didnt want to deal with the hell that is IE JS more than I had to)
  • I was able to get around IE embedding as IE7 by default without modifying the registry, as it turns out you can set it to IE11 mode through a meta tag
  • newtonsoft.json is now a dependency

LoginForm.Designer.cs Outdated Show resolved Hide resolved
@yellows111 yellows111 merged commit a6a73b4 into yellows111:master Apr 8, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants