Fix authelia login redirection
This commit is contained in:
		
							parent
							
								
									1e275fea5b
								
							
						
					
					
						commit
						683da0dad1
					
				@ -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.
 | 
				
			||||||
 | 
				
			|||||||
@ -27,9 +27,10 @@ http:
 | 
				
			|||||||
    auth:
 | 
					    auth:
 | 
				
			||||||
      # Go through authelia for authorization
 | 
					      # Go through authelia for authorization
 | 
				
			||||||
      forwardAuth:
 | 
					      forwardAuth:
 | 
				
			||||||
        address: http://authelia:9091/api/verify?rd=https://auth.{{ env "PRIVATE_DOMAIN" }}/%23/
 | 
					        address: http://authelia:9091/api/verify?rd=https://auth.{{ env "PRIVATE_DOMAIN" }}/
 | 
				
			||||||
        trustForwardHeader: true
 | 
					        trustForwardHeader: true
 | 
				
			||||||
        authResponseHeaders:
 | 
					        authResponseHeaders:
 | 
				
			||||||
          - X-Forwarded-User
 | 
					          - X-Forwarded-User
 | 
				
			||||||
 | 
					        tls:
 | 
				
			||||||
          insecureSkipVerify: true
 | 
					          insecureSkipVerify: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user