Skip to content
Advertisement

Tag: google-oauth

Can I using Google Sheet API only with API Key or using Client ID and Client secret, but without client_secret.json?

In this provided Python code in this quickstart, it using credentials.json such in this line: I have enabled the Sheet and Drive API. I created credentials from the APIs & Services menu, then on the Credentials tab, click on the CREATE CREDENTIALS button, then click on the OAuth client ID, and on the Application type I selected the Desktop app,

Using gmail through python without smtp

As of may 30th, smtp is no longer accepted. https://support.google.com/accounts/answer/6010255?hl=en&ref_topic=7188673 What is the new way to make a simple python emailer rather than a full application with the “login with google” option? Not sure why I was asked for the code and error, given that I already diagnosed the issue and was asking for alternative methods. Here it is. Its

Authorisation Error 400: redirect_uri_mismatch – cannot generate needed token files for the ezsheets module

I need to use the ezsheets module which requires the use of both Google Drive and Google Spreadsheets APIs. I enabled them and have managed to gain the required credentials, which I passed in the python project folder. According to Google Spreadsheets documentation, the next step should be gaining the two required token files ( one for each API )

Is refreshing the OAuth refresh token standard behavior?

I’m implementing an API wrapper for an OAuth API (in particular, TD Ameritrade) and I’ve encountered an interesting piece of functionality. Unlike most OAuth implementations I’ve seen, in which refresh token is valid for some time period and then the user has to re-authenticate, this API supports refreshing the refresh token itself. In particular, if you send a request with

How can I get an oauth2 access_token using Python

For a project someone gave me this data that I have used in Postman for testing purposes: In Postman this works perfectly. Auth URL: https://api.example.com/oauth/access_token Access Token URL: https://api.example.com/access_token client ID: abcde client secret: 12345 Token name: access_token Grant type: Client Credentials All I need is to get back the access token. Once, I got the access token I can

Advertisement