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:
Jens Langhammer
2022-08-07 18:50:24 +02:00
parent 7e3c21d77b
commit 201bea6d30
3 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,7 @@ import (
const (
redirectParam = "rd"
CallbackSignature = "X-authentik-auth-callback"
LogoutSignature = "X-authentik-logout"
)
func (a *Application) checkRedirectParam(r *http.Request) (string, bool) {