mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
feat(oauth): fix mapping (#330)
This commit is contained in:
parent
701ff5d6bc
commit
d35d8a7307
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ func (*Service) Authenticate(code string, configuration *portainer.OAuthSettings
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
maps.Copy(idToken, resource)
|
maps.Copy(resource, idToken)
|
||||||
|
|
||||||
username, err := GetUsername(resource, configuration.UserIdentifier)
|
username, err := GetUsername(resource, configuration.UserIdentifier)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue