Adding OpenID authentication to Moodle LMS

By EssingtonITS team ·
"OpenID Connect is an interoperable authentication protocol based on the OAuth 2.0 framework of specifications (IETF RFC 6749 and 6750). It simplifies the way to verify the identity of users based on the authentication performed by an Authorization Server and to obtain user profile information in an interoperable and REST-like manner." Of course, Moodle LMS has a plugin so you can use this to connect to any Authorization server, including Azure ( part of Microsoft Entra ) and this article deals with using the latter. There are two parts to setting this up: The AzureAD side and the Moodle one. In Azure 1. Login to Azure. 2. Register the App in App Registrations. 3. Create an application (reference it so it's easily findable) 4. Create client Secret ID and copy this (important). 5. Add in Redirect URI from Moodle plug-in page. In Moodle 1. Install OpenID and other O365 plugins 2. Set the M$ ID Platform as v2.0 3. Copy the client secret in from Azure. Also, copy in the Application ID and enter it in the box as shown above. 4. From Azure, copy the endpoints. 5. Turn the authentication on and check the settings. It will appear on the login screen as below. 6. Test out with a valid user from your tenancy. Okay so now you are asking "What's the difference between SAML (Shibboleth) and OpenID? Here is there answer:

"The Security Assertion Markup Language (SAML) is an XML-based federation technology used in some enterprise and academic use cases. OpenID Connect can satisfy these same use cases but with a simpler, JSON/REST based protocol. OpenID Connect was designed to also support native apps and mobile applications, whereas SAML was designed only for Web-based applications. SAML and OpenID Connect will likely coexist for quite some time, with each being deployed in situations where they make sense."

   

Looking to optimise your Learning Management System? EssingtonITS offers tailored solutions to enhance your e-learning environment. Visit EssingtonITS.co.uk for expert IT services, or explore our dedicated hosting and support for Moodle at myelms.co.uk. Let us help you create a seamless and efficient learning experience.

person people found this useful.

Tags: #OpenID #Moodle #AzureAD

Related

Knowledge base 10 Jun 2026

Personal Notebook in eLLM

The personal notebook in eLLM allows users to organise and store notes, images, and files in a private, searchable timeline. It ensures privacy by keeping contents visible only to the user, and it can be integrated with the assistant for personalised answers.

Knowledge base 9 Jun 2026

Git Commands Quick Reference Guide

This quick reference guide covers essential Git commands for repository setup, staging, branching, merging, and working with remote repositories, making it a handy tool for developers to streamline their workflow.

Knowledge base 9 Jun 2026

Organisation Skills in the eLLM Admin Console

The article explains how the eLLM Admin Console allows organisations to create and manage shared instruction sets called "organisation skills" to ensure consistent responses across teams. These skills can be customised, restricted to specific groups, and integrated with extern…

Expand 29 Jul 2026

How AI can support pupils with SEND

Explore how AI tools are aiding pupils with special educational needs and disabilities by simplifying text, breaking down tasks, and enhancing accessibility. Learn about the considerations schools should make before implementation.

Expand 29 Jul 2026

AI policy and practice in further education

Further education colleges need distinct AI policies due to their unique mix of vocational courses, diverse age groups, and specific funding and inspection requirements. This guidance highlights the importance of tailored AI approaches in FE settings.