internal: add X-authentik-logout signature to trigger logouts when URLs are not exposed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -150,6 +150,8 @@ func NewApplication(p api.ProxyOutpostConfig, c *http.Client, cs *ak.CryptoStore | ||||
| 		return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | ||||
| 			if _, set := r.URL.Query()[CallbackSignature]; set { | ||||
| 				a.handleAuthCallback(w, r) | ||||
| 			} else if _, set := r.URL.Query()[LogoutSignature]; set { | ||||
| 				a.handleSignOut(w, r) | ||||
| 			} else { | ||||
| 				inner.ServeHTTP(w, r) | ||||
| 			} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer