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

Update main.go for token tests

parent 5c7ceb39
Branches
No related tags found
No related merge requests found
Pipeline #5213 passed
...@@ -105,7 +105,7 @@ func main() { ...@@ -105,7 +105,7 @@ func main() {
clientSecret := query.Get("client_secret") clientSecret := query.Get("client_secret")
code := query.Get("code") code := query.Get("code")
grantType := query.Get("grant_type") grantType := query.Get("grant_type")
redirectUri := query.Get("redirect_uri") // redirectUri := query.Get("redirect_uri")
tokenUrl := "https://gw.hml.api.enedis.fr/v1/oauth2/token" tokenUrl := "https://gw.hml.api.enedis.fr/v1/oauth2/token"
data := url.Values{} data := url.Values{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment