diff --git a/ovh/configuration.go b/ovh/configuration.go index 2be8096..5983d2f 100644 --- a/ovh/configuration.go +++ b/ovh/configuration.go @@ -159,6 +159,7 @@ func (c *Client) loadConfig(endpointName string) error { ClientID: c.ClientID, ClientSecret: c.ClientSecret, TokenURL: tokensURLs[c.endpoint], + Scopes: []string{"all"}, } c.oauth2TokenSource = conf.TokenSource(context.Background())