Please check out this Quick Start code to implement 3-Legged authentication in Python. It also shows a few APIs call demo and one of that is to read the user call log.
@Phong Vu here is what I get when I try to run that "getting started" code:
{
"error" : "invalid_client",
"errors" : [ {
"errorCode" : "OAU-113",
"message" : "No redirect uri is registered for the client"
} ],
"error_description" : "No redirect uri is registered for the client"
}
I even made a new app that has "Available Auth Flows: Auth Code" but I get the same error.
Google isn't helping. Please and thank you!
PS: Is making a Flask app really necessary if all I want to do is download reports? Shouldn't this all be possible with simple GET/POST requests?
Check your app to see if you have added this to the redirect url. Change the port 5000 accordingly if you use other port number than 5000
http://localhost:5000/oauth2callback.
What you meant before? So you are not running on a local machine? The error message "No redirect uri is registered for the client" is clearly saying that there is no redirect uri for this app. Check the app or let me know your app client id.