I am in the process of setting up a SAML interaction with Auth0 and a self-serve Nextcloud server. The connection has been established using a Single Page Application and using Nextcloud’s SSO/SAML application. The only issue is that when NextCloud creates the user, the username created and looked up by is the user_id variable of the Auth0 user. Is there a rule for this application that I can create that will allow this to map the variable to the Auth0’s user’s nickname variable instead?
Resource I used for mapping the environment: https://medium.com/@mathiasconradt/nextcloud-single-sign-on-with-auth0-a546cdf1fccf