emmarichardson / local_autogroup

A local plugin for Moodle 2.7 onwards which handles the dynamic creation, population and cleanup of groups on courses.
6 stars 19 forks source link

No group change from OneLogin profile modification #28

Closed luiggisanso closed 3 years ago

luiggisanso commented 3 years ago

Hi

I hope that everything will be understandable, if not, do not hesitate.

We use :

When we change the group name from the user profile in OneLogin (img1), the group name is changed in the Moodle user profile (img2) But there is no change in groups in course with the auto-group plugin (img3).

image image image

It is as if onelogin does not pass the information to auto-group

A manual change from the Moodle profile works fine, and auto-group does the group change correctly.

Do you have any idea what event is missing from OneLogin or auto-group?

Thanks

ak4t0sh commented 3 years ago

Hi @luiggisanso

Thanks for raising this issue. To update user's groups local_autogroup is listening to several events such as \core\event\user_updated which should be triggered after an user update. auth_onelogin_saml does not seems to trigger any event. Searching for "event" on their github repo return only comments : https://github.com/onelogin/moodle-saml/search?q=event I just created an issue about it in their tracker : https://github.com/onelogin/moodle-saml/issues/20

luiggisanso commented 3 years ago

Thank you very much

luiggisanso commented 3 years ago

Hi

I can close this issue because it's done onelogin/moodle-saml#20 onelogin/moodle-saml#24

Thanks all.