feat(oauth): fix mapping (#330)

pull/12512/head
Steven Kang 2025-01-23 09:03:51 +13:00 committed by GitHub
parent 701ff5d6bc
commit d35d8a7307
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ func (*Service) Authenticate(code string, configuration *portainer.OAuthSettings
return "", err
}
maps.Copy(idToken, resource)
maps.Copy(resource, idToken)
username, err := GetUsername(resource, configuration.UserIdentifier)
if err != nil {