To allow users to log in with a quick and easy single sign on with their social accounts, follow the following steps to connect your Facebook, Twitter and Google developer API accounts within your app. Learn how below!

Facebook

1. Log into https://developers.facebook.com/ as a developer, or create an account.

2. Select an App or Create a New App

3. Add product - Facebook Login

4. Add iOS and Android platform

5. Set up Your Development Environment

6. Register and Configure Your App with Facebook

7. Go to Analytics page and select Settings.

8. Disable “Log In-App Purchase Events Automatically on iOS” and “Log In-App Purchase Events Automatically on Android” by toggling to "No."

9. Navigate to App's Settings, then click Advanced. Collect the Client Token key.

10. Navigate to App's Settings, then click Basic. App ID and MainActivity package, Key Hashes

Twitter

1. Log into https://apps.twitter.com as a developer, or create an account, and select Apps on the top right.

2. Select the app that is connected to MAZ.

3. Select Keys and Tokens and copy the Consumer API Keys.

4. Return to App Details. Callback URLS / 

define the schema in the below format and replace the ConsumerKey with the above copied key with '<' and '>'

twitterkit-<ConsumerKey>://

Example

twitterkit-ASGBp8P32MOayb8d5WwDPA://

Google 

  1. Go to Google's Developer Console to log in or sign up for a new account.
  2.  Create a new project for your app.


3. Please reach out to "success@mazsystems.com" to verify the Bundle ID and SHA Fingerprint values for your app. Then select Credentials in the Google Console to setup new OAuth Credential keys for iOS and Android and Web. 

iOS

  1. Enter the name of the application for which you are setting up Google SSO.
  2. Enter the Bundle ID of your he application,
  3. Enter the App Store ID and Team ID from your Apple Developer account (both are optional).
  4. Click on Create.
  5.  Select the Client ID displayed to copy and paste in the MAZ ID dashboard. 

Android

  1. Enter the name of the application for which you are setting up Google SSO.
  2. Enter the signing certificate fingerprint shared.
  3. Enter the package name of the application. 
  4. Click on Create.
  5.  Select the Client ID displayed to copy and paste in the MAZ ID dashboard. 

Web

  1. Enter the name of the application.
  2. Click on Create.
  3. Select the Client ID displayed to copy and paste in the MAZ ID dashboard. 


4. Complete the Consent Screen with your homepage, Privacy Policy and Terms of Service: 


5. Submit your project to be verified by Google for approval.

6. Once approved, submit your iOS, Android and/or your and Web Client ID in your MAZ dashboard under App Creator and Social Login

Did this answer your question?