Social Authentication

We use expo's social authentication mechanism for using facebook and google sign in. For other types of sign in like Github and Twitter, We are using WebView architecture explained here.

Facebook

For facebook, You would just need to configure facebookScheme,facebookDisplayName,facebookAppId under app/app.json. On how to get these please follow the setups here under Configuration section.

Please note for facebook authentication to work in release builds, make sure to add facebook hashes as explained in the above link.

Google

For google sign in Please follow below steps : 

  1. To make it work in expo client, Follow steps at this link and get android and ios clientIds and configure them in app/constants/environment.js under array EXPO_GOOGLE_CLIENT_IDS. First element is for android and second is for ios.
  2. To make it work in release builds, follow steps as outlined here

Published On June 6, 2020 6:27 PM

Last Updated October 14, 2020 12:19 PM