-
Improvement
-
Resolution: Fixed
-
Minor
-
4.2.2
-
MOODLE_402_STABLE
-
MOODLE_404_STABLE
-
MDL-79520-main -
-
2
-
Team Hedgehog 2023 Review 4, Team Hedgehog 2024 Sprint 1.1
Currently, the Clever service template exhibits the following:
- It isn't using Clever's OIDC 'userinfo' endpoint, which means there is a custom 'client' subclass calling non-standard endpoints to get user information.
- The above also means we have a custom user field mapping, mapping these non-standard fields into our internal fields.
- Has hard-coded endpoints (no OIDC discovery)
Sidenote: Whilst we definitely should be reading user information from the (verified) id_token, that's another story and is a wider problem across Moodle's OIDC implementation (and not a problem that should be tackled here).
For Clever, we should at the very least:
- Use discovery to read+store Clever's OIDC endpoints (including the userinfo endpoint). I've spoken to Clever about their broken discovery endpoint and this has now been fixed, so we can now use this: https://clever.com/.well-known/openid-configuration
- Use the userinfo endpoint to get the user data during auth, instead of the 2-call method we were currently using.
- has a non-specific relationship to
-
MDL-73767 Oauth2 - Add Clever SSO as an SSO provider
-
- Closed
-