diff --git a/main.go b/main.go
index 4f482b0b630312e0e6a7f0170e6bf2615556397c..cfe564a2fbf6c33553fb5c5bc966835310715e59 100644
--- a/main.go
+++ b/main.go
@@ -45,7 +45,7 @@ func main() {
 		redirectUri := "https://oauth-proxy.wf.alpha.grandlyon.com/"
 		responseType := "code" 
 
-		authReq := "https://gw.hml.api.enedis.fr/group/espace-particuliers/consentement-linky/oauth2/authorize?client_id="+ clientId +"&duration=P6M&redirect_uri="+ redirectUri +"&response_type="+ responseType +"&state="+ state +"-"+ cozyOrigin
+		authReq := "https://gw.hml.api.enedis.fr/dataconnect/v1/oauth2/authorize?client_id="+ clientId +"&duration=P6M&redirect_uri="+ redirectUri +"&response_type="+ responseType +"&state="+ state +"-"+ cozyOrigin
 
 		fmt.Println(time.Now().Format("2006-01-02 15:04:05"), "- Send request to auth endpoint", authReq)
 		response, err := http.Get(authReq)