I have made an API which calls /oauth2/authorize to get access code which is used to get access token and refresh token, since this will be used in an automated process, when I call /oauth2/authorize without callback url, the code I get it works by copying and using in
/oauth2/token, but if I use it with callback URL it always returns "response_body": "{\"error\": \"invalid_grant\", \"error_description\": \"code has already been used\"}".
Call back url(http://localhost:5000/callback) is configured correctly, otherwise it should not be working when using code manually.
