From b6bc1b5835eb436c8f744b881966618fae936663 Mon Sep 17 00:00:00 2001 From: Hugo <hnouts@grandlyon.com> Date: Mon, 12 Oct 2020 17:35:41 +0200 Subject: [PATCH] hardcode redirect grdf --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 5ef9ec6..ca8a952 100644 --- a/main.go +++ b/main.go @@ -373,7 +373,7 @@ func main() { code := "" grantType := "" scope := "" - redirectUri := "" + redirectUri := "https://oauth-proxy.wf.alpha.grandlyon.com/redirect-grdf" // For request token params are into query parameters @@ -430,7 +430,7 @@ func main() { code = query.Get("code") grantType = query.Get("grant_type") scope = query.Get("scope") - redirectUri = query.Get("redirect_uri") + redirectUri = "https://oauth-proxy.wf.alpha.grandlyon.com/redirect-grdf" } -- GitLab