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

Google Drive: usar gapi.auth2 #24

Open
aureliojargas opened this issue Feb 7, 2018 · 0 comments
Open

Google Drive: usar gapi.auth2 #24

aureliojargas opened this issue Feb 7, 2018 · 0 comments

Comments

@aureliojargas
Copy link
Owner

aureliojargas commented Feb 7, 2018

Hoje uso o gapi.auth, que é uma versão antiga e obsoleta.

Alguns métodos são diferentes, e não tem mais o getToken() que eu uso atualmente pra poder fazer as chamadas xhr. Aqui tem instruções de como obter o token.

Aí talvez seria o caso de usar o cliente JavaScript oficial do Google pra autenticar e acessar as APIs, em vez de fazer os xhr na mão.

aureliojargas added a commit that referenced this issue Feb 7, 2018
Quick fix, but this is an obsoleted method, I should really use
gapi.auth2.

See issue #24
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

1 participant