fix OIDC middleware callback URL

This commit is contained in:
yusing 2025-01-21 12:42:56 +08:00
parent 5d3a93f103
commit 2c43f1412e

View file

@ -80,6 +80,7 @@ func (auth *OIDCProvider) TokenCookieName() string {
func (auth *OIDCProvider) SetIsMiddleware(enabled bool) {
auth.isMiddleware = enabled
auth.oauthConfig.RedirectURL = ""
}
func (auth *OIDCProvider) SetAllowedUsers(users []string) {