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 login crash onActivitiyResult #1

Closed
dogeri28 opened this issue Jul 16, 2018 · 4 comments
Closed

google login crash onActivitiyResult #1

dogeri28 opened this issue Jul 16, 2018 · 4 comments
Labels
question Further information is requested

Comments

@dogeri28
Copy link

It seems the google authentication, doesnt seem to work. Please is there anything that i might be doing wrong. i have also enabled the option on firebase and produced a debugged version of the SHA1 hash key. i also downloaded the google services json in my project. Please what can i be doing wrong that it calls back with Google sign in failed

@WindSekirun
Copy link
Owner

WindSekirun commented Jul 16, 2018

Can you follow up with this step?

  1. Configure API Project in here
  2. In AS 3.1, enter 'Firebase' and click 'Authentication' and click 'Connect to Firebase' and 'Add Firebase Authentication to your app'. in this step, you will save your 'google-services.json' in your app module directory.
  3. Enable Google as authentication provider in Firebase Console
  4. Find 'Web Client ID' in Firebase console. you can find this information in sub-section of authentication provider.
  5. Provide your 'Web Client ID' into GoogleConfig.setClientTokenId()

if you still fail, notice to me. i'll post some post about setting step with some picture.

@dogeri28
Copy link
Author

Thank you for the quick response. i did similar steps, but i will do it again following the steps you highlighted. I was able to get facebook authentication working, just google which is giving issues. I will let you know today.

@WindSekirun
Copy link
Owner

I posted some tutorial on my personal blog, you can see this link for tutorial.

and you don't need to configure API Project. There is all steps of Google Login.

  1. In AS 3.1, enter 'Firebase' and click 'Authentication' and click 'Connect to Firebase' and 'Add Firebase Authentication to your app'. in this step, you will save your 'google-services.json' in your app module directory.
  2. Enable Google as authentication provider in Firebase Console
  3. Find 'Web Client ID' in Firebase console. you can find this information in sub-section of authentication provider.
  4. Provide your 'Web Client ID' into GoogleConfig.setClientTokenId()

@WindSekirun WindSekirun added the question Further information is requested label Jul 16, 2018
@dogeri28
Copy link
Author

Thank you very much, it worked. i followed the steps on your blog. However for clarity can you update the github step instead of google and change the .setClientTokenId("") to .setClientTokenId("<YOUR-WEB-CLIENT-ID>") in the google section. Apart from that thank you if you had a donate button i would have donated something, maybe its worth having on your github page. I will be moving onto using the twitter option shortly.

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

No branches or pull requests

2 participants