OAuth2 Server
- Moodle 1.9–5.1
- 更新 2026-10-21
This plugin provides an OAuth2 server so that a user can use its Moodle account to log in to external applications.
OAuth2 Server Plugin for Moodle
This plugin enables your Moodle site to act as an OAuth2 authorization server ( OAuth2 ), allowing external applications to authenticate users using their Moodle credentials.
It supports the OAuth2 Authorization Code flow, making it useful for integrating Moodle-based identity verification into custom systems such as applications, portals, custom AI agents, or third-party services. Note that while it allows credential delegation, it is not a full Single Sign-On (SSO) solution by default.
Key Features:
Acts as a compliant OAuth2 Authorization Server.
Supports the Authorization Code Grant flow.
Allows external systems to obtain access tokens and refresh tokens using Moodle credentials.
Built using bshaffer/oauth2-server-php as the underlying OAuth2 library.
- 5.3.0Moodle 5.3
- 5.2.2Moodle 5.2
- 5.1.5Moodle 5.1
- 5.0.7Moodle 5.0
- 4.5.8Moodle 4.5