SOS! Mapping custom user attribute from keycloak and use it as nextcloud email

SOS!!!

I have implemented keycloak (Oauth2) authentification and everything works fine.
By default nextcloud take keycloak user email as the mail value, now we want to go further and map a custom attribute called “custom_email” to nextcloud mail.

Help me please :pray:

This is some LDAP-like service where you can get the mail information from? And latest version NC27? Just to get it tagged correctly.

If you need quick and reliable support, you can get enterprise support. This is just a community forum where users help each other.