Moodle Single Sign-On (SSO) With WordPress As OAuth Server | Login Into Moodle Using WordPress

WordPress OAuth Server plugin enables Single Sign-On (SSO) into the Moodle using your WordPress username and password. Once you configure the Moodle with WP OAuth Server plugin, you can login to your Moodle application using WP credentials. OAuth Server plugin also allows you to send custom WordPress user attributes to your Moodle app as per your requirements. To know more about other features we provide in WP OAuth Server plugin, you can click here.

Download And Installation

  • Log into your WordPress instance as an admin.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Search for a WordPress OAuth Server Single Sign-On (SSO) plugin and click on Install Now.
  • Once installed click on Activate.

Steps to configure WordPress Login into Moodle

Step 1: Setup WordPress as OAuth Server

  • NOTE: To perform SSO, Moodle needs "email" and we provide email attribute in the Premium version of our plugin. Hence, the below configuration that you see is of the Premium version of WP OAuth Server plugin.
  • Go to miniOrange OAuth Server on the left side menu and click on Add Client button to create a new client.
  • OAuth server Single Sign-On(SSO)WordPress- moodle app select
  • Enter Client name as you want. Enter the below Redirect / Callback URL under the Authorized Redirect URI field and click on Save Client button:
  •  OAuth server Single Sign-On(SSO)WordPress- moodle Authorized Redirect URI
  • Note down Client ID, Client Secret, Issuer URI to configure in your OAuth Client. You will get the Issuer URI in the Discovery Document. Click on the Discovery Document link under the Client Name
  • OAuth server Single Sign-On(SSO)WordPress- moodle client credentials OAuth server Single Sign-On(SSO)WordPress- moodle issuer url

Step 2: Setup Moodle as OAuth Client

  • Login to the developer account of Moodle and click on site administration on the left.
  • OAuth server Single Sign-On(SSO)WordPress- moodle go to site administration
  • Click on server and select OAuth2 Services.
  • OAuth server Single Sign-On(SSO)WordPress- moodle select OAuth2 services
  • Create a new custom service.
  • OAuth server Single Sign-On(SSO)WordPress- moodle create custom service
  • Enter the Client ID, Client Secret you got from the miniOrange OAuth server plugin. Enter the Issuer URI under the Service base url field and Click on Save changes button.
  • OAuth server Single Sign-On(SSO)WordPress- moodle enter credentials
    Client ID : Click Here
    Client Secret: Click Here
    Scope: openid email profile
    Issuer url : Click Here
In this Guide, you have successfully configured Single Sign-On (SSO) into Moodle with WordPress as OAuth Provider and Moodle as OAuth Client using our WP OAuth Server plugin.This solution ensures that you are ready to roll out secure access to your Moodle using WordPress site credentials within minutes.

Need Help?

Mail us on for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to