1. Home
  2. Docs
  3. AcadLix
  4. Addon
  5. Social Login

Social Login

Social login addon lets your students register or log in using their social accounts, securely and instantly. They don’t need to go through the process of entering or managing the username or password. This also builds trust between you and your students related to security.

How to enable the Social Login addon?

Navigate to the Addon manager by clicking on the “Addons” option from the left menu.

Enable the toggle button in front of the “Social login” addon.

Enable social login addon in acadlix

 

How to enable login with Google in Acadlix?

Navigate to the Acadlix settings by clicking on the “Settings” option under Acadlix in the left menu.

Click on the “Authentication” option.

Acadlix Authentication settings

Scroll down to “Social Login

enable social login options in acadlix lms

Click “Enable Google Login

Login with Google in Acadlix LMS

Click Save.

 

How to Create a Google Client ID and Client Secret?

You can easily create a Google Client ID and secret by following these simple steps.

Log in to the Google Cloud Console ( https://console.cloud.google.com/ )

Cloud console navigation for project

Click on Select a project.

Now a modal will appear, either select an existing one or click on New project.

Create new google cloud console project

Enter a Project name and click the Create button.

Google cloud console new project configuration

Now navigate to the API & Services -> OAuth Consent Screen using the left-hand menu.

Google APIs and Services

Click the Get Started Button.

Google project window

 

Project Configuration

Enter the App name and select an Email and click next.

Google Project configuration screen

Select the audience as External and click next.

Google Project configuration - 2

Enter the contact information (email) and click next.

Google Project configuration - 3

Select the Google user policy by clicking on checkbox and click Continue.

Google cloud project configuration - 4

Click Create button.

Google cloud project configuration -5

Create OAuth Client

Now, from the OAuth overview page, follow the steps below to create an OAuth client.

 

Click Create OAuth Client button.

Google oAuth configuration screen

Select Web Application under Application type.

Create oAuth client id for google project

Give it a name.

create Oauth client id - fill details

Under the Authorized JavaScript origins, add the URL of your domain/website.

Authorized JavaScript origins

Click on Add URI under Authorized redirect URIs.

Authorized redirect URIs

Enter the redirect URIs as https://yoursite.com/dashboard

Note: Replace yoursite.com with your domain name.

Now copy the client ID and click Ok.

Google oAuth client id modal

Now, under the client, click on the newly created “Client Name.

Now scroll down to get the client secret.

Google oAuth client secret

How to configure the Google OAuth client ID and client secret with Acadlix?

Navigate back to the Acadlix SettingsAuthentication Social Login

 

Copy the client ID from the Google OAuth Page and paste it here.

Do it same for the client secret.

Login with google credential page acadlix

Click save

Congratulations! You have successfully configured the Sign in with Google for your Acadlix-based eLearning platform.

How can we help?