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?