Feature request - Nextcloud as oauth2 provider

Hello,

Setting up Nextcloud as OAuth2 provider in Zammad, be able to login

Actually
“422: Minimum one identifier (login, firstname, lastname, phone or email) for user is required.”

see:

Nextcloud oauth2 and NodeBB:

Nextcloud oauth2 and Rocket.Chat

Hi,

I have find this maybe can help for ientifier…:
userRoute: ‘https://NC_URL/ocs/v2.php/cloud/user?format=json’, // This is the address to your app’s “user profile” API endpoint (expects JSON)