Merge pull request #568 from JokerQyou/feature/authentik-forward-auth

[WIP] Add Authentik forward auth support
This commit is contained in:
Toby Chui
2025-03-31 20:05:52 +08:00
committed by GitHub
9 changed files with 262 additions and 2 deletions

View File

@@ -83,6 +83,7 @@ func RegisterTLSAPIs(authRouter *auth.RouterDef) {
// Register the APIs for Authentication handlers like Authelia and OAUTH2
func RegisterAuthenticationHandlerAPIs(authRouter *auth.RouterDef) {
authRouter.HandleFunc("/api/sso/Authelia", autheliaRouter.HandleSetAutheliaURLAndHTTPS)
authRouter.HandleFunc("/api/sso/Authentik", authentikRouter.HandleSetAuthentikURLAndHTTPS)
}
// Register the APIs for redirection rules management functions