mirror of https://github.com/portainer/portainer
feat(oauth): fix mapping (#330)
parent
701ff5d6bc
commit
d35d8a7307
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue