Social Login addon
Let students register and sign in with an existing Google or Facebook account.
The Social Login addon (Pro) adds provider buttons to the CourseGlade login and registration forms, so a student can start a course without inventing another password.
Setup
Each provider is configured in CourseGlade → Settings → Social Login:
- Google — enable, then paste the client ID and client secret from your Google Cloud OAuth credentials
- Facebook — enable, then paste the app ID and app secret from your Facebook app
Add the callback URL shown in the settings screen to the provider’s list of authorised redirect URIs. Client secrets are stored as sensitive settings and are never sent to the browser.
How sign-in works
The button sends the visitor to the provider. The provider returns an authorisation code to your site, and the code is exchanged for a token on your server — the exchange never happens in the browser.
When the returned email matches an existing account, the visitor is signed into that account. When it does not, an account is created for them.
Where the buttons appear
The buttons render on the [courseglade_auth] form, under the standard fields. Password login keeps working exactly as before, so switching the addon off leaves every account reachable.