The Basics
- Nextcloud Server version (e.g., 29.x.x):
32.0.1
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.58
- Reverse proxy and version _(e.g. nginx 1.27.2)
n/a
- PHP version (e.g, 8.3):
8.3.6
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
now
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
archive
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
I run this Nextcloud server already for several years. I am not a Nextcloud expert but managed to configure it with LDAP for user authentication easily. Now I was given the task to add Microsoft 365 login with OpenID Connect … and I am struggling to even understand how this is supposed to work.
I found the “OpenID Connect user backend” app and installed it. I see the “OpenID Connect” section now in “Administration settings”. But when I click + to add a new provider I just can’t figure out how to configure it for Microsoft Entra. I do have a client ID and client secret. But what is this “Discovery Endpoint”, what to enter here? Scope? Extra claims? User ID mapping?
A help link there points to https://github.com/nextcloud/user_oidc but there is not really documentation on how to configure it through this settings page. Instead, it only lists a lot of configuration text, apparently for config.php?
Can anyone point me to some real documentation about this app and how to configure it? Did anyone add Microsoft Entra login to Nextcloud using this app? (I assume someone will already have done this before …)
Sorry if this is too basic what I am asking for … but why is there no documentation?
Thanks for any help!