-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Getting results from Garb using OAuth token returns hard to understand error #8
Comments
Indeed, |
Hm, would be nice if Garb would handle the initialization of the AccssToken object. I might invest a few hours into that next tuesday. |
That I think wouldn't be feasible as Garb doesn't "know" enough to initialize |
Ah, oke, seems legit. Maybe the documentation in the readme could use some clarification on using OAuth access tokens with Garb. I think this issue should be closed now, thanks for your quick reply! |
Just a side note, a good way to generate that token is suggested on StackOverflow by Brandon Tilley: http://stackoverflow.com/questions/5675029/how-to-use-omniauth-to-make-authenticated-calls-to-services |
I'm having a hard time getting data from Google using an OAuth authorized token. I have the following:
I'm aware improvements could be made all over the place, but that aside I'm getting some pretty unexpected result:
I'm getting the feeling I'm doing something wrong here but I can't figure out what. I have looked at both the source and the code but that's not helping. The
curent_user.google_api_token
I generate usingomniauth-google-oauth2
. Help would be greatly appreciated!The text was updated successfully, but these errors were encountered: