mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-26 17:31:45 +02:00
Added OAuth2 support for SSO
This commit is contained in:
@ -10,6 +10,7 @@ package main
|
||||
import (
|
||||
"embed"
|
||||
"flag"
|
||||
"imuslab.com/zoraxy/mod/auth/sso/oauth2"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
@ -146,6 +147,7 @@ var (
|
||||
//Authentication Provider
|
||||
autheliaRouter *authelia.AutheliaRouter //Authelia router for Authelia authentication
|
||||
authentikRouter *authentik.AuthentikRouter //Authentik router for Authentik authentication
|
||||
oauth2Router *oauth2.OAuth2Router //OAuth2Router router for OAuth2Router authentication
|
||||
|
||||
//Helper modules
|
||||
EmailSender *email.Sender //Email sender that handle email sending
|
||||
|
Reference in New Issue
Block a user