Screenshot COVID-19 Update We have changed are structure to better support our employees and customers through these hard times.
See Updates

Setting up Moodle and WordPress for Single Sign On

Published: February 7, 2019 | Updated: September 15th, 2020
  1. Home
  2. Docs
  3. How To
  4. Setting up Moodle and WordPress for Single Sign On

Setting up WordPress

Ensure that WP OAuth Server is installed and activated.

  • Create a new Client
  • Enter the Moodle URL as the redirect URI.
  • Take note of the Client ID and Secret

Setting up Moodle

Log into Moodle as an administrator and go to

Site Administration -> Server -> OAuth 2 Services and click “Create New Custom Service

  • Enter WordPress’s name in the name field. An example would be “WordPress SSO”
  • Obtain the Client ID and Client Secret from the client settings screen (from WordPress).
  • Enter the WordPress site URL for the field “Service Base”
  • Leave other fields alone for a standard setup.

When setup correctly, a new button will be added to the Moodle log in screen. Users that use the SSO login will automatically be added as a student.

Icon