feat: forward sub from oidc providers

This commit is contained in:
Stavros
2025-12-26 18:28:53 +02:00
parent 2d8af0510e
commit eef674a4e6
12 changed files with 21 additions and 0 deletions

View File

@@ -197,6 +197,7 @@ func (controller *OAuthController) oauthCallbackHandler(c *gin.Context) {
Provider: req.Provider,
OAuthGroups: utils.CoalesceToString(user.Groups),
OAuthName: service.GetName(),
OAuthSub: user.Sub,
}
log.Trace().Interface("session_cookie", sessionCookie).Msg("Creating session cookie")