NOTE: User must me logged in as admin to access this API
URL : api/admin/social/media-update
Method : PATCH
Query Parameters : For Social Media
Parameter | Type | Possible Values | Required/Optional | Description |
provider_name | String | facebook, google, github, twitter, linkedin, bitbucket | Required | Provider Name Eg: facebook, twitter, google, github, etc. |
client_id | String | Required | Client Id | |
client_secret | String | Required | Client Secret | |
redirect | URL | Required | Redirect URL | |
status | Integer | 1,0 | Optional | Active value = 1
Inactive Value = 0 |
Query Parameters : For External Login
Parameter | Type | Possible Values | Required/Optional | Description |
provider_name | String | external-login | Required | Provider Name Eg: external-login |
allow_external_login | Integer | 1,0 | Optional | Yes = 1
No = 0 |
allow_users_to_access_system_url | Integer | 1,0 | Optional | Yes = 1
No = 0 |
validate_api_parameter | String | Required | Name for session token | |
validate_token_api | URL | Required | API URL to validate user session | |
redirect_unauthenticated_users_to | URL | Required | Redirect URL for unauthenticated users |
Success Response:
{ "success":true, "message":"Settings updated successfully" }