Warpwire's Moodle Login Script

Warpwire allows clients to utilize a lightweight Moodle login page. This script allows users to login to Warpwire using Moodle as an authentication source. You can download the script from our GitHub page. There are two ways to implement this tool:

Option 1: Self-hosted (preferred)

Download the script from GitHub and host it yourself.

  • If you choose this option, contact Warpwire to receive a key and secret
  • If you choose this option, all user login data will remain on your servers

Option 2: Warpwire-hosted

Let Warpwire take care of it. Provide the information listed below and Warpwire will host the script and login page allowing Moodle authentication outside of Moodle.

  • If you choose this option, Warpwire will handle the implementation
  • If you choose this option, some user login data will pass through Warpwire servers


You will need to verify that Moodle REST APIs are active.

  • In Moodle, navigate to Dashboard > Site Administration > Mobile App > Mobile Settings. Check the box next to "Default: Yes" and click "Save changes".
Mobile filter settings interface on Moodle

Contact Warpwire

  • Contact Warpwire to recieve client-specific values for $_WW_USER, $_WW_KEY, and $_WW_URL
  • You will also need to provide the exact URL path of the login page location. (e.g https://login.institution.org/client2)

Use the config.php.example file to create your own config.php file, making the following changes:

  • Contact Warpwire to recieve client-specific values for $_WW_USER, $_WW_KEY, and $_WW_URL, then replace those values.
  • Replace [YOUR MOODLE WEB URL] with your Moodle URL.
  • Replace [YOUR ORGANIZATION] with the name of your institution as you want it to appear on the login page.
  • Replace [YOUR ORGANIZATION LOGO] with the file name of the logo image you'd like to use.
  • Place the logo image file in the same directory as the config.php file.

Only if you'd like Warpwire to host the login page (Option 2): You will need to make sure your firewall allows Warpwire to connect remotely to access your API services:


See also Adding the Warpwire resource to your Moodle 3 Course and Turn on Warpwire for your course in Moodle.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article