Skip to content
Snippets Groups Projects
Commit f6daca49 authored by Hugo's avatar Hugo
Browse files

works on local, need to test on alpha

parent 31d54946
No related branches found
No related tags found
1 merge request!7pipe characters were provoking a bad request error on grdf
Pipeline #17512 passed
......@@ -2,8 +2,8 @@ version: "2.4"
services:
cozy-oauth-proxy:
image: registry.forge.grandlyon.com/pocs/cozy/cozy-oauth-proxy
#image: cozy-oauth-proxy
# image: registry.forge.grandlyon.com/pocs/cozy/cozy-oauth-proxy
image: cozy-oauth-proxy
container_name: cozy-oauth-proxy
restart: unless-stopped
mem_limit: 512m
......
......@@ -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|Nom||Ecolyo&state=" + state + "-" + instanceName
redirectUrl := authURL + "?client_id=" + clientId + "&scope=openid&response_type=code&redirect_uri=" + redirectProxy + "&login_hint=Prénom%7cNom%7c%7cEcolyo&state=" + state + "-" + instanceName
log.Info("WL - GrdfSuccess - Authorize - Redirect user")
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