Hello everybody,
im new to moodle , i know nothing bout php and apache....
my moodle is using php7.0
latest stable moodle version 3.4
i did configure the Oauth2 in moodle and the application in Office 365 following these procedure :
https://docs.moodle.org/34/en/OAuth_2_Microsoft_service
https://docs.moodle.org/34/en/OAuth_2_authentication
i did left the automatic account creation on login, and i did left the openid settings as they were in the Oauth2 service settings.
i didnt change anything in the Oauth2 plugin
i encounter a problem :
members of my organization can login normaly using O365 credentials. but members of any other O365 organizations can log into moodle too.
thx in advance.
edit : also, in Oauth2 service , no system account is connected