Single sign-on and social sign-in

Updated

With WPInterface LMS Pro, people can sign in with Google, Microsoft, LinkedIn, another OpenID Connect provider or SAML, optionally only for some email domains.

Set up a provider

Go to LMS → Settings → Single sign-on and social sign-in. Create an OAuth web client at each provider you want, enter the redirect URI shown in the panel there, and fill in the provider’s fields.

ProviderFieldsWhere to create the client
GoogleGoogle client id and Google client secretGoogle Cloud console, APIs and services, Credentials, OAuth client ID (web application).
MicrosoftMicrosoft application (client) id, Microsoft client secret and Microsoft tenant (common, organizations, consumers or a tenant id)Microsoft Entra admin center, App registrations: a new registration with a web redirect URI, then a client secret.
LinkedInLinkedIn client id and LinkedIn client secretLinkedIn developer portal: in your app, add the product “Sign In with LinkedIn using OpenID Connect”.
Another OpenID Connect providerOther provider: button name, issuer URL, client id, client secret and scopesYour identity provider (Okta, Auth0, Keycloak, Entra ID and others). It must publish an OpenID configuration and sign ID tokens with RS256.
SAMLSAML: button name, identity provider entity id (issuer), identity provider sign-in URL (HTTP-Redirect), identity provider signing certificate and email attribute name (optional)Give your identity provider the entity id and assertion consumer service URL shown in the panel. Assertions must be signed; encrypted assertions are not supported.

Who can sign in this way

SettingDefaultWhat it does
Make student accounts for new people who sign in this wayOnMakes a student account for someone who has none. When it is off, they are told to ask the site’s staff for an account.
Only for these email domains (separated by commas; empty for any)EmptyLimits new accounts to these email domains.

What people see

The sign-in options appear under “Or continue with”.

People can link and unlink sign-in options under Linked sign-ins on their profile page. Staff accounts must link a sign-in option from their profile first: they sign in with their password, then use the link on their profile.

To add a second step to sign-in, see Two-step sign-in and the activity log.

Was this page helpful?