Hi, I would like to know if there’s some problems with auth0 api or something. Yesterday I had my tokens in less than 3s. Today without changing anything of my code, It takes about 40s to get a token.
This is my code:
conn = http.client.HTTPSConnection(os.getenv("AUTH0_DOMAIN"))
payload = "{\"client_id\":\""+ os.getenv('AUTH0_CLIENT_ID')+"\",\"client_secret\":\""+ os.getenv('CLIENT_SECRET')+"\",\"audience\":\"https://"+ os.getenv('AUTH0_DOMAIN')+"/api/v2/\",\"grant_type\":\"client_credentials\"}"
headers = { 'content-type': "application/json" }
conn.request("POST", "/oauth/token", payload, headers)
res = conn.getresponse()
data = res.read()
datajson = json.loads(data.decode("utf-8"))
