From 2ed0e84f09c37a3f9ee036c446e1bbd15db0f05c Mon Sep 17 00:00:00 2001
From: Bastien DUMONT <bdumont@grandlyon.com>
Date: Fri, 25 Nov 2022 10:33:42 +0100
Subject: [PATCH] replace pipes

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index b521871..afbb293 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)
-- 
GitLab