Appearance
InfySupport Third Party Setup
Setup Pusher Configuration
Go to pusher website and do sign up and if you have an account you can login.
- After Login you will get below screen.
- Click on “Manage” button. After clicking this button you get below screen.
- Click on “Create app” button. After clicking this button you get below screen.
- 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.
- After creating app yow will redirect to below screen. After that click on “App settings” menu as pointed in below screen.
- After clicking on “App Settings” you will redirect to below screen. From there turn on “Enable client events” toggle switch.
- Now click on “App Keys” menu and you will get below screen.
- 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