Skip links

How to configure Social Media login API?

How to configure Social Media login API?

Follow the below steps to set up the social media login API.

Facebook Login API:

  1. Log into https://developers.facebook.com using facebook email and password.
  2. Click on My App and then click the Add New App.
  3. Give the name of the app and then click on Create App ID. It will automatically redirect to the App dashboard.
  4. Then go to Settings -> Basic.
  5. Set the App Domains and click on Save Changes.
  6. Get the App ID and App Secret.
  7. Now click on Products and select Facebook login.
  8. It will redirect you to Quick Settings.
  9. Select Web and give your site url and click Save.
  10. Go to Facebook login -> Settings.
  11. Set the Valid OAuth Redirect URIs (example:https://example.com/social-login/facebook/callback) and click on Save.
  12. Now go to Active Matrimonial admin Dashboard -> Settings -> Social media login and set the App ID and App Secret in Facebook Login Credential.
  13. Click on Save

.

Google Login API:

  1. Go to https://developers.google.com/identity/sign-in/web/sign-in.
  2. Click on Configure A Project.
  3. Give your project name and click next.
  4. Give your product name and click next.
  5. Configure 0auth client by selecting the web server and give your Authorized redirect URIs (example:https://example.com/social-login/google/callback) and click on Create.
  6. Then you will get the Client ID and Client Secret.
  7. Now go to Active Super Shop admin Dashboard -> Settings > Social media login and set the Client ID and Client Secret in Google Login Credential.
  8. Click on Save.