This means that abra's default behaviour of setting DOMAIN causes unexpected behaviour. If DOMAIN=auth.example.com, only users with emails like user@auth.example.com will be allowed in 😞
The `DOMAIN` environment variable has a special meaning for `traefik-forward-auth`: it establishes a list of allowed email domains for SSO https://github.com/thomseddon/traefik-forward-auth#user-restriction
This means that `abra`'s default behaviour of setting `DOMAIN` causes unexpected behaviour. If `DOMAIN=auth.example.com`, only users with emails like `user@auth.example.com` will be allowed in 😞
If the DOMAIN variable is already used by a container, I would suggest to rename the variable. Use an env like TRAEFIK_DOMAIN and place DOMAIN=${TRAEFIK_DOMAIN} in the compose file under environment.
If the `DOMAIN` variable is already used by a container, I would suggest to rename the variable. Use an env like `TRAEFIK_DOMAIN` and place `DOMAIN=${TRAEFIK_DOMAIN}` in the compose file under `environment`.
@moritz thanks for the suggestion! Maybe I'm misunderstanding your suggestion, but the problem seems to be that, if DOMAIN is set in the container, traefik-forward-auth behaves unexpectedly – and I can't find a way to unset it.
@moritz thanks for the suggestion! Maybe I'm misunderstanding your suggestion, but the problem seems to be that, if `DOMAIN` is set in the container, `traefik-forward-auth` behaves unexpectedly – and I can't find a way to unset it.
If you set DOMAIN=${TRAEFIK_DOMAIN} in the compose file and set TRAEFIK_DOMAIN="" in your .env file you unset the DOMAIN variable for the container. If you never need the DOMAIN variable you could also directly set DOMAIN="" in the compose file.
If you set `DOMAIN=${TRAEFIK_DOMAIN}` in the compose file and set `TRAEFIK_DOMAIN=""` in your .env file you unset the `DOMAIN` variable for the container. If you never need the `DOMAIN` variable you could also directly set `DOMAIN=""` in the compose file.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The
DOMAINenvironment variable has a special meaning fortraefik-forward-auth: it establishes a list of allowed email domains for SSO https://github.com/thomseddon/traefik-forward-auth#user-restrictionThis means that
abra's default behaviour of settingDOMAINcauses unexpected behaviour. IfDOMAIN=auth.example.com, only users with emails likeuser@auth.example.comwill be allowed in 😞If the
DOMAINvariable is already used by a container, I would suggest to rename the variable. Use an env likeTRAEFIK_DOMAINand placeDOMAIN=${TRAEFIK_DOMAIN}in the compose file underenvironment.@moritz thanks for the suggestion! Maybe I'm misunderstanding your suggestion, but the problem seems to be that, if
DOMAINis set in the container,traefik-forward-authbehaves unexpectedly – and I can't find a way to unset it.If you set
DOMAIN=${TRAEFIK_DOMAIN}in the compose file and setTRAEFIK_DOMAIN=""in your .env file you unset theDOMAINvariable for the container. If you never need theDOMAINvariable you could also directly setDOMAIN=""in the compose file.