fixed a static ID bug

This commit is contained in:
Colin Henry 2019-09-29 11:26:11 -07:00
parent 3ddab3c7ea
commit af37be92bc

View File

@ -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"},
}