What to do when error occurred during access token generation?
The endpoint /oauth/v2/token supports only POST request. Request you hit directly from the browser is a GET request. Since token generation requests contain sensitive information like client secret and refresh tokens, GET request is not allowed. However, when you make a POST request, the data sent to the server is stored in the request body of the HTTP request and they don't get registered in browser history and also never gets cached.