Nextcloud SAML Username Mapping Rule

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:

Hey @anthonyz, Welcome to the Auth0 Community!

You could always customize the SAML assertions if Auth0 is the IDP , please find information below:


1 Like