Skip to content

Login to newly created wireguard app not workingΒ #114

@sebthom

Description

@sebthom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions