moodle-logstore_xapi icon indicating copy to clipboard operation
moodle-logstore_xapi copied to clipboard

Allow customization of identifying actors

Open sei-ebram opened this issue 5 years ago • 1 comments

Description

  • Right now, actors can only be identified by the following:
  1. homePage - Always set to app_url
  2. name - Either username, or id, depending on a setting.

Both of these are quite limiting. homePage set to app_url makes sense for local accounts, but not for OAuth2 accounts according to the xAPI spec. If a user is accessing Moodle via OAuth2, then the homePage should reflect the OAuth2 issuer, and not Moodle.

In addition, in the specific case of OAuth2 users, but most likely others, both "id" and "username" aren't relevant identifiers for an account. Instead, this should be more freely customizable and include a list of user properties to choose from.

sei-ebram avatar Nov 04 '20 17:11 sei-ebram

image

sei-ebram avatar Nov 04 '20 17:11 sei-ebram

Happy to review PRs, but will be closing this as part of a cleanup/roadmap focus.

davidpesce avatar Apr 15 '24 19:04 davidpesce