Submit a ticket My Tickets
Login  Sign up
Open navigation

How to Connect your WordPress Site with LearnWorlds with our WP SSO plugin

With SSO (Single-Sign-On), your students don't need a separate user account to access your online school. You can use the existing login system of your organisation, built in your WordPress site.

A WordPress plugin connects a WordPress site with your LearnWorlds School for seamless browsing between them. 

This plugin will allow the LearnWorlds school to use the WordPress authentication system, meaning that all WordPress users would have access to the School. 

Why should you use the WordPress plugin?

If you already have built your business on WordPress, this plugin will help you provide amazing learning experiences. On your site, you can add a menu item with a link to your school. When members of your page click on this item, they directly connect to your learning material without the need to register at the school you have created with LearnWorlds.

Or imagine that you have created a blog post where you train people on your subject and you want to provide more explicit video training. You can then add a link to your blog post including a shortcode to a course (or even a learning activity!) you want to redirect your readers to. They can then immediately continue browsing your educational content without having to get through the tiring process of creating a new account. 

The same goes for if you have created a series of courses in a card style on your website and you want your members to sign in directly when selecting one. This can work also as a white-label mechanism, as your students will barely know they are connected with LearnWorlds and they will think they are learning from your brand (to learn how to create fully white-labeled schools click here).

What does the SSO plugin offer?

When a user that wants to log in, sign up or reset their password, they will be redirected to your WordPress site. 

1. When a user finds your school and wants to Sign in, they are immediately redirected to the login/sign up page of your WordPress site and they have to sign in from there.

2. When a user wants to Sign up in your school, they are immediately redirected to your WordPress site's login/sign-up page and have to register from there.

3. When a user wants to Reset their password in your school, they are immediately redirected to your WordPress site.

As described, users are directed immediately to your school through an SSO link in your WordPress site without having to log in again. Once logged in to your WordPress site they are already connected to the school as well! Or any of your school pages.

How to connect your WordPress site with your school

The connection between these two sites is done manually with the use of your custom URLs (eg. courses, checkout pages, etc.) that work as links. Note that, if you change your domain name, you have to re-enter those links. So it is advisable that before creating the necessary connections with your WordPress site, you set your custom domain in your school.  

SSO links

You can use SSO links from your WordPress site to any of your school pages, which you can place practically anywhere using the shortcode provided. An example of a shortcode might be

[learnworlds-sso-link url="" text="Login to school" logged-in-text="Go to school"]

You can create menu items on your site (with LearnWorlds endpoints menu items provided by the plugin). Suppose you want to add your new course as a menu item on your site. Here is how to do that:

  • In WordPress go to the dashboard and select Appearance → Menus

  • In the Add menu items section choose Learnworlds endpoints and tick the SSO link box.

  • In the Menu structure section inserts the name you want to give to your item and the public URL of your course, which you can find in the Access tab on your Learnworlds author page.

The menu item will then appear in the place you have selected and your members will have immediate access to your new course. 

You can add a school link with the SSO widget provided with the plugin.

Benefits of this plugin

1. The LearnWorlds SSO plugin improves the browsing experience of your students, by taking away the need to create new accounts or re-enter an email and password in both your WordPress and LearnWorlds site.

2. Every time a registered LearnWorlds user changes their email in their WordPress profile, the plugin updates that email to the LearnWorlds database as well, keeping the two neatly synced.

3. The plugin also supports WooCommerce and allows your website to use the default account management pages that are installed by the WooCommerce plugin.

How to activate this plugin in your school

You may follow the plugin instructions to install it to your WordPress site. Note that this plugin requires a Learning Center Plan and above which includes SSO/API integration with LearnWorlds. 

You will need to request your API credentials (available for Learning Center plans or higher), by navigating to 

My Account → Premium Members, in your LearnWorlds school. 

You can check out our relevant article: How to request your API keys.

When you are set with your WP SSO plugin navigate to your Sign in/up settings:

And copy the SSO URL displayed at your WP SSO plugin settings to the corresponding field. Press Test Url to check that the URL is working and you are all set.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.