Nextcloud SSO username

I’ve managed the SSO configuration against an nextcloud server.
It works pretty well, with one problem.
If an user is unknown to discourse and login the first time a user is created at discourse with an username from nextcloud.
Unfortunately the nextcloud user management is LDAP based and the username field in nextcloud is an UUID String.
Is it possible to change the username to something other e.g. email address?

Thanks LL&P
David

What exactly are you using in the Discourse side? Our SSO protocol or a plugin for an authentication strategy like oauth2?

Standard SSO protocol out of the box and Discourse SSO - Apps - App Store - Nextcloud on nextcloud.

1 Like

So that is a feature request for that NextCloud plugin.

It sets the username here:

https://github.com/soudis/discoursesso/blob/master/lib/Controller/DiscourseController.php#L92

5 Likes

This topic was automatically closed after 103 minutes. New replies are no longer allowed.