fix: handle type string for oauth groups

This commit is contained in:
Stavros
2025-07-15 00:17:41 +03:00
parent 736f65b7b2
commit 6519644fc1
4 changed files with 52 additions and 5 deletions

View File

@@ -189,7 +189,7 @@ func (h *Handlers) OAuthCallbackHandler(c *gin.Context) {
Name: name,
Email: user.Email,
Provider: providerName.Provider,
OAuthGroups: strings.Join(user.Groups, ","),
OAuthGroups: utils.CoalesceToString(user.Groups),
})
// Check if we have a redirect URI