Nextcloud shared user base with Wordpress

Hello! Please tell me whether it is possible to connect nextcloud to a working site on wordpress so that all users registered in wordpress are copied to nextcloud? And further registration and authorization was uniform? Thank you very much for the answer!

You would need a SSO connector like https://www.apereo.org/projects/cas to do this afaik

You could synchronize users, emails, display names and passwords from the WordPress database with User and Group SQL Backends. Transferring roles into groups or using Single Sign On does not seem to work with the WordPress database and this app together.

https://github.com/nextcloud/user_sql