activating both ldap and openid connect (oidc) for login

activating both ldap and openid connect (oidc) for login

by Tom E -
Number of replies: 3

hi, is it possible to activate both options for the login?

I thought if I don´t enable this option in the o365 sync settings, it would work out:

Switch matched users to Microsoft 365 (OpenID Connect) authentication

So after the task "local_o365\task\usersync" I am only able to login with openid connect, but I cannot login with ldap.

Any ideas? Am I missing something else?

Thanks a lot!
Tom



Average of ratings: -
In reply to Tom E

Re: activating both ldap and openid connect (oidc) for login

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Because you switched the user accounts of O365 so moodle will not even look at ldap for those users.  You should be able to leave them as ldap and then just set up OIDC for authentication and it will link the two accounts within moodle.

In reply to Emma Richardson

Re: activating both ldap and openid connect (oidc) for login

by Tom E -
thank you for your answer, but that was what I was trying to explain, that I did not activate that option, so it only should link the accounts, right?
In reply to Tom E

Re: activating both ldap and openid connect (oidc) for login

by Tom E -
and unfortunately I have 2 accounts now, if I login with both ldap and oidc with each user