Open joshuataylor opened 7 years ago
Thanks for the issues and the PR. Based on this issue it appears #1 is blocked by this? I don't currently have time to look into this but happy to review any PRs! Cheers!
The current version allows OAuth based requests to receive a token, which offloads OAuth to the user. I'm not sure if this is ideal, but it is an approach.
So Google Drive only supports OAuth2 to authorize requests - see https://developers.google.com/drive/v3/web/about-auth .
We have a couple of options:
1/ Add a dependency to a library to handle auth, as this will mean that google-api-elixir-client only interacts with Google API and doesn't handle auth (good) 2/ Write auth ourselves.
I recommend option 1, as this will reduce the initial development time, and help grow both projects.