Skip to content
Snippets Groups Projects
Commit 2ed0e84f authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

replace pipes

parent a8811ab0
No related branches found
No related tags found
1 merge request!9feat: update url calls to adict/v2
Pipeline #47387 passed
...@@ -265,7 +265,7 @@ func main() { ...@@ -265,7 +265,7 @@ func main() {
redirectProxy := *cozyProxyURI + "/redirect-grdf" redirectProxy := *cozyProxyURI + "/redirect-grdf"
authURL := "https://sofit-sso-oidc.grdf.fr/openam/oauth2/realms/externeGrdf/authorize" 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") log.Info("WL - GrdfSuccess - Authorize - Redirect user")
http.Redirect(w, r, redirectUrl, 302) http.Redirect(w, r, redirectUrl, 302)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment