Comments (12)
confirm - now its works! thanks!
from wg-gen-web.
hi, can you please update to latest version 6e08b28
and share your config if the problem persists
from wg-gen-web.
it all about wg-gen-web behind traefik ...
if I disable authorization on the traefik side - everything works
I tried to delete authorization headers - it does not help
last working docker build - f90124a
I have configured automatic updating of images via watchtower, so it hurts to return to the UI and it does not work
my ansible config:
- name: vx3r/wg-gen-web:latest
tags:
- docker
- wireguard
- wg-ui
docker_container:
name: wg-gen-web
image: vx3r/wg-gen-web:latest
pull: yes
restart_policy: always
recreate: yes
volumes:
- "{{docker_dir}}/wireguard:/data"
labels:
traefik.enable: 'true'
traefik.http.routers.wireguard.tls: 'true'
traefik.http.routers.wireguard.rule: "Host(`vpn.#########.ru`)"
traefik.http.routers.wireguard.entrypoints: 'websecure'
traefik.http.services.wireguard.loadbalancer.server.port: '8080'
traefik.http.routers.wireguard.middlewares: 'auth-wg'
traefik.http.middlewares.auth-wg.basicauth.users: '#########:##################'
traefik.http.middlewares.auth-wg.basicauth.removeheader: 'true'
env:
TZ: Europe/Moscow
WG_INTERFACE_NAME: wg0.conf
WG_CONF_DIR: /data
SMTP_HOST: smtp.yandex.ru
SMTP_PORT: "465"
SMTP_USERNAME: #########
SMTP_PASSWORD: #########
SMTP_FROM: #########
GIN_MODE: release
- name: watchtower container
tags:
- docker
- watchtower
docker_container:
name: watchtower
image: containrrr/watchtower
restart_policy: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- "{{docker_dir}}/watchtower/config.json:/config.json"
command: --interval 300 --cleanup
env:
TZ: Europe/Moscow
from wg-gen-web.
ok make sens, basic auth does't work since i implemented oauth2 oidc. Can you switch to this auth method as described in readme ?
from wg-gen-web.
I switched to OAUTH2_PROVIDER_NAME: github
now i can login, and everyone who has a login to the github can also?
how can I manage users who can enter the UI ?
can logout and email field is empty
from wg-gen-web.
you have to take an oauth provider you control, like self hosted gitlab, nextcloud or Dex. i dont know if there is a way to limit github users. For email its weird, you have a public email in your account ?
from wg-gen-web.
set public email - now its ok
from wg-gen-web.
is there a chance to fix OAUTH2_PROVIDER_NAME=fake
to completely ignore authorization?
I'm switching to the old image for now :(
from wg-gen-web.
ok will try to make it work with auth basic
from wg-gen-web.
from wg-gen-web.
just pushed some changes, it must work now. Can you please confirm ? @sphen13 @nestyurkin
from wg-gen-web.
Thank you!! :)
from wg-gen-web.
Related Issues (20)
- Please upgrade your tool
- [improvement] Passport authentication HOT 2
- Error: 500 - Internal Server Error: HOT 1
- is it able to setup AllowedIPs server side only
- Impossible to disconnect / add / revoke users from the server without restarting it. Statistics on users are also not synchronized without restarting the server HOT 1
- Can not build docker-compose over SSH HOT 1
- Problems with stats API HOT 2
- README.md has 2 broken links
- Tutorial on YouTube
- ReferenceError: Buffer is not defined HOT 5
- Logout with github oauth2 not working
- Add to Unraid app community
- Error failed to launch wire-guard in LXC Proxmox Server HOT 1
- [QUESTION} Is this project still being maintained? HOT 2
- the port 8080 should be set by "ports" HOT 1
- migrate from https://github.com/adrianmihalko/wg_config HOT 1
- oauth2oidc issue HOT 1
- I need some help! Backend and Frontend url is 404 not found!
- Problem send emails
- 登录增加授权 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wg-gen-web.