feat: forward sub from oidc providers (#543)

* feat: forward sub from oidc providers

* fix: review comments
This commit is contained in:
Stavros
2025-12-26 19:02:51 +02:00
committed by GitHub
parent 2d8af0510e
commit 43487d44f7
12 changed files with 21 additions and 13 deletions

View File

@@ -99,6 +99,7 @@ func (m *ContextMiddleware) Middleware() gin.HandlerFunc {
Provider: cookie.Provider,
OAuthGroups: cookie.OAuthGroups,
OAuthName: cookie.OAuthName,
OAuthSub: cookie.OAuthSub,
IsLoggedIn: true,
OAuth: true,
})