Skip to content
Snippets Groups Projects
Commit 1578fdde authored by Yoan VALLET's avatar Yoan VALLET
Browse files

feat: change login_hint for GRDF authorize

parent 4d25cadd
Branches
Tags
No related merge requests found
Pipeline #9371 passed
...@@ -195,7 +195,7 @@ func main() { ...@@ -195,7 +195,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=Sebastien|Riera|sebastien.riera@laposte.net|Ecolyo&state=" + state + "-" + instanceName redirectUrl := authURL + "?client_id=" + clientId + "&scope=openid&response_type=code&redirect_uri="+ redirectProxy + "&login_hint=Prénom|Nom|E-mail|Ecolyo&state=" + state + "-" + instanceName
// TODO Add Login Hint in request // TODO Add Login Hint in request
log.Debug("Redirect to - ", redirectUrl) log.Debug("Redirect to - ", redirectUrl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment