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

accessToken not working with Firebase #10

Closed
ajonno opened this issue Feb 11, 2017 · 7 comments
Closed

accessToken not working with Firebase #10

ajonno opened this issue Feb 11, 2017 · 7 comments

Comments

@ajonno
Copy link

ajonno commented Feb 11, 2017

hi, firstly a big thank you for publishing this - awesome stuff !

ive got it setup and working fine for ios.

on android, i am successfully getting an auth response - however the idToken is null and the accessToken isn't working -- when i try to use it to auth w/ firebase.

my first thought was should the idToken be null (on android)? on iOS the idToken has a value, which then works when auth'ing to firebase

thanks for your help

@joonhocho
Copy link
Owner

@ajonno Can you elaborate on how you want to use it with Firebase?
Also, which scopes are you requesting?

@joonhocho
Copy link
Owner

@ajonno Please close this issue, if adding serverClientID to GoogleSignIn.configure grants idToken.

@ajonno
Copy link
Author

ajonno commented Feb 12, 2017

hi sorry for delay in reply - yes this resolved the issue thanks very much !

@ajonno ajonno closed this as completed Feb 12, 2017
@joonhocho
Copy link
Owner

@ajonno Awesome!

@eggybot
Copy link

eggybot commented May 26, 2017

hi @joonhocho and @ajonno
sorry to up this post, I have the same problem.

do I need to use both clientID and serverClientID? also where can I find/locate my serverClientID? I cannot locate the serverClientID on the json config file or in the console.

thanks,

@Ramaraju1992
Copy link

@joonhocho if i use serverClientID i am getting idToken value its ok, but "accessToken":null is getting... how can i get AccessToken value...

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

4 participants