Closed SirMishaa closed 1 month ago
After some debugging, the request seems good. (I mean, there is a Bearer token in header when using AccessTokenAuthenticator
)
It looks like Google does not allow connecting using API KEY. Only OAuth 2.0 token seems to be accepted 😐. If you don't have more information, you can close the issue :)
Thank you.
Hello,
I'd like to interact with Google Calendar API to create events. It's only for myself for now, and I do not need OAuth 2.0 and the infrastructure that it needs (having a server that can receive the token, etc).
I'm wondering if it's possible to use static API key ? See the following : https://github.com/Byron/google-apis-rs/issues/172
Sorry If I miss something in the documentation. Best regards.
Edit: I have tried the following (the access token is valid and have an access to my calendar) :
I got the following error from google :