1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-18 21:09:40 +02:00

feat(oauth): fix mapping (#330)

This commit is contained in:
Steven Kang 2025-01-23 09:03:51 +13:00 committed by GitHub
parent 701ff5d6bc
commit d35d8a7307

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 {