Oauth2 Server
Premium Certified Partner
Maintained by
Dorel Manolescu, Lai Wei, Enovation Dev Team
This plugin provides an OAuth2 server so that a user can use its Moodle account to log in to external applications.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I can complete the auth code flow and get an access_token/refresh_token via /local/oauth2/token.php, but I can't use the Bearer token to call Moodle Web Services (e.g. /webservice/rest/server.php expects wstoken). The docs say: "The access_token is the one you will use to make requests to the Moodle API." Therefore, which endpoints are intended here, and is there a supported way to use/exchange this token for WS calls?
The plugin does not currently support full PKCE, but we are planning to add it, as it seems to be helpful for MCP clients.
Regards