Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization #4

Open
joshuataylor opened this issue Feb 8, 2017 · 2 comments
Open

Authorization #4

joshuataylor opened this issue Feb 8, 2017 · 2 comments

Comments

@joshuataylor
Copy link

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.

@seanabrahams
Copy link
Owner

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!

@elkelk
Copy link
Contributor

elkelk commented Jul 12, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants