mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-12-27 02:22:27 +00:00
feat: forward sub from oidc providers (#543)
* feat: forward sub from oidc providers * fix: review comments
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user