Skip to content
Snippets Groups Projects
Commit a8811ab0 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

fix: auth/token

parent 38b656a0
No related branches found
No related tags found
1 merge request!9feat: update url calls to adict/v2
Pipeline #47386 passed
......@@ -446,9 +446,9 @@ func main() {
// }).Debug("WL - EnedisInfo - Token - Result")
// DEV API
// tokenUrl := "https://gw.hml.api.enedis.fr/v1/oauth2/token"
// tokenUrl := "https://gw.hml.api.enedis.fr/v2/oauth2/token"
// PROD API
tokenUrl := "https://gw.prd.api.enedis.fr/v1/oauth2/token"
tokenUrl := "https://gw.prd.api.enedis.fr/v2/oauth2/token"
data := url.Values{}
data.Set("client_id", clientId)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment