Skip to content

InfySupport Third Party Setup

Setup Pusher Configuration

Go to pusher website and do sign up and if you have an account you can login.

  1. After Login you will get below screen.

Pusher1

  1. Click on “Manage” button. After clicking this button you get below screen.

Pusher2

  1. Click on “Create app” button. After clicking this button you get below screen.

Pusher3

  1. Now give your app name, select your cluster, select “JQuery” from front-end tech, “laravel” from back-end tech and click on “Create app” button. As shown in below image.

Pusher4

  1. After creating app yow will redirect to below screen. After that click on “App settings” menu as pointed in below screen.

Pusher5

  1. After clicking on “App Settings” you will redirect to below screen. From there turn on “Enable client events” toggle switch.

Pusher6

  1. Now click on “App Keys” menu and you will get below screen.

Pusher7

  1. Now add this values in you env file.
ini
PUSHER_APP_ID = Your pusher app id
PUSHER_APP_KEY = Your pusher app key
PUSHER_APP_SECRET = Your pusher app secret
PUSHER_APP_CLUSTER = Your pusher app cluster

Setup Google Login

You just need google client id, secret and redirect URL for google auth login.

You can find steps here or you can watch video at here

NOTE: DO not forget that Authorized Redirect URI should be e.g : YOUR_DOMAIN/login/google/callback, you just need to replace YOUR_DOMAIN by your domain name.

Now you have Client ID, Client Secret and Redirect URI so replace its value into appropriate .env variable.

Google social login env variables are following :

ini
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT={APP_URL}/login/google/callback

Note: {APP_URL} should be replaced by your domain. e.g https://my-domain.com/login/google/callback

Setup Facebook Login

You just need facebook app id, app secret and redirect URL for facebook auth login.

You can find steps here

NOTE: DO not forget that Authorized Redirect URI should be e.g : YOUR_DOMAIN/login/facebook/callback, you just need to replace YOUR_DOMAIN by your domain name.

Now you have App ID, App Secret and Redirect URI so replace its value into appropriate .env variable.

Facebook login env variables are following :

ini
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
FACEBOOK_REDIRECT={APP_URL}/login/facebook/callback

Note: {APP_URL} should be replaced by your domain. e.g https://my-domain.com/login/facebook/callback