From af37be92bc95f923ce289a64c1de501e98f98be2 Mon Sep 17 00:00:00 2001 From: Colin Henry Date: Sun, 29 Sep 2019 11:26:11 -0700 Subject: [PATCH] fixed a static ID bug --- auth/auth.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auth/auth.go b/auth/auth.go index fd8d117..8463a2b 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -25,9 +25,9 @@ func NewAuthenticator(domain, clientID, clientSecret, callback string) (*Authent } conf := oauth2.Config{ - ClientID: "ae1e02bTwXA35O3r3Xxk4kbRf31j5ge9", - ClientSecret: "NFC5KYeM9GA2z0ptvzKPo9jmkQDRjx_WcsWyK0hzOJmr1CykS9cEmTcNh0-hKiMd", - RedirectURL: "http://localhost:3000/callback", + ClientID: clientID, + ClientSecret: clientSecret, + RedirectURL: callback, Endpoint: provider.Endpoint(), Scopes: []string{oidc.ScopeOpenID, "profile"}, }