Compare commits

..

1 Commits

Author SHA1 Message Date
683da0dad1 Fix authelia login redirection 2020-01-27 17:00:16 +01:00
2 changed files with 7 additions and 0 deletions

View File

@ -15,3 +15,4 @@ Instead, a special service - `authelia-config` runs before authelia start, and p
## Lessons learned ## Lessons learned
- Authelia will ONLY work with https. Both the authelia url itself and the one being authenticated must be https. - Authelia will ONLY work with https. Both the authelia url itself and the one being authenticated must be https.
- The authorization link should NOT end with `/#/` or `/%2F/` or anything, just `/`. Otherwise it will not redirect you back after authorizing.

View File

@ -28,3 +28,9 @@ http:
# Go through authelia for authorization # Go through authelia for authorization
forwardAuth: forwardAuth:
address: http://authelia:9091/api/verify?rd=https://auth.{{ env "PRIVATE_DOMAIN" }}/ address: http://authelia:9091/api/verify?rd=https://auth.{{ env "PRIVATE_DOMAIN" }}/
trustForwardHeader: true
authResponseHeaders:
- X-Forwarded-User
tls:
insecureSkipVerify: true