XOAuth2 SMTP Konfiguration

Nextcloud version: 27.0.2
Operating system and version : Debian 11

Hi, we want to configure the XOAuth2 Authentication for sending system Mails

The administration manual shows the order how the autentication running throught the different methods.
My question is, how to set the user/password correctly to use XOAuth2 Authentication, where to set Client ID/Secret?? and where to set the tenant id?