diff --git a/main.go b/main.go
index 6f9e87b831937227a919ee8a521baf076f683ec1..b918bde7d397b559d88aeada4426e954f5b8f43d 100644
--- a/main.go
+++ b/main.go
@@ -265,7 +265,7 @@ func main() {
 				redirectProxy := *cozyProxyURI + "/redirect-grdf"
 				authURL := "https://sofit-sso-oidc.grdf.fr/openam/oauth2/realms/externeGrdf/authorize"
 
-				redirectUrl := authURL + "?client_id=" + clientId + "&scope=openid&response_type=code&redirect_uri=" + redirectProxy + "&login_hint=Prénom%7cNom%7c%7cEcolyo&state=" + state + "-" + instanceName
+				redirectUrl := authURL + "?client_id=" + clientId + "&scope=openid&response_type=code&redirect_uri=" + redirectProxy + "&login_hint=Prénom;Nom;;Ecolyo&state=" + state + "-" + instanceName
 
 				log.Info("WL - GrdfSuccess - Authorize - Redirect user")
 				http.Redirect(w, r, redirectUrl, 302)
@@ -446,9 +446,9 @@ func main() {
 		// }).Debug("WL - EnedisInfo - Token - Result")
 
 		// DEV API
-		// tokenUrl := "https://gw.hml.api.enedis.fr/v1/oauth2/token"
+		// tokenUrl := "https://gw.hml.api.enedis.fr/v2/oauth2/token"
 		// PROD API
-		tokenUrl := "https://gw.prd.api.enedis.fr/v1/oauth2/token"
+		tokenUrl := "https://gw.prd.api.enedis.fr/v2/oauth2/token"
 
 		data := url.Values{}
 		data.Set("client_id", clientId)
@@ -659,7 +659,7 @@ func main() {
 		data2.Set("client_secret", clientSecret)
 		data2.Set("grant_type", "client_credentials")
 		data2.Set("redirect_uri", redirectUri)
-		data2.Set("scope", "/adict/v1")
+		data2.Set("scope", "/adict/v2")
 
 		// log.Debug("WL - GrdfInfo - Token - data sent is: ", data2)
 		log.Info("WL - GrdfInfo - Token - send request to access_token endpoint with client_credentials: ", tokenUrl)