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 to newly created wireguard app not working #114

Open
sebthom opened this issue Oct 30, 2024 · 1 comment
Open

Login to newly created wireguard app not working #114

sebthom opened this issue Oct 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sebthom
Copy link

sebthom commented Oct 30, 2024

TL;DR

After provisioning a new server with the wireguard app, a login via browser is not possible. Each login attempt simply redirects to the login page itself.

I found this issue ngoduykhanh/wireguard-ui#641 without further details. The wireguard-ui project seems dead. Last update 9 months ago. Also from a security point of view it might make sense that you replace wireguard-ui with e.g. https://github.com/wg-easy/wg-easy which is actively maintained.

Expected behavior

The login works.

Observed behavior

  1. Open the wg admin ui in the browser
  2. try to login using the preselected user/pw
  3. Click "Sign-In"
  4. The page reloads and shows the login page again.
  5. In the script console you see:
     Uncaught TypeError: data is undefined
         success https://wireguard.myserver.com/login?next=/:118
         jQuery 6
         <anonymous> https://wireguard.myserver.com/login?next=/:110
         jQuery 7
         <anonymous> https://wireguard.myserver.com/login?next=/:98
         jQuery 8
         <anonymous> https://wireguard.myserver.com/login?next=/:96
         jQuery 13
     login:118:94

Minimal working example

No response

Log output

No response

Additional information

No response

@sebthom sebthom added the bug Something isn't working label Oct 30, 2024
@Kjarrigan
Copy link
Collaborator

Thanks for your report @sebthom - other users have mentioned that issue too and it seems like there is a container restart necessary after the admin user was create before the UI login properly works. We'll check an automatic solution in the setup.

I'll also forward your suggestion regarding wg-easy to our internal apps maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants