Single Sign Sn (SSO) Solution for Wordpress and Nextcloud

Nextcloud version (eg, 12.0.2): 14.0.6
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.36
PHP version (eg, 7.1): 7.1


Does anyone know if there is a Single Sign On add on or feature so for each user using my Wordpress site that they also automatically get a Nextcloud account and can sign in with the same credentials.

Any advice on the best approach would be greatly appreciated.

I will need this and the Wordpress logged in user will be creating PDF documents on the Wordpress site and I want to be able to use the Webdav API to send these into their Nextcloud account. The only issue is they can’t send a file in if they don’t have a Nextcloud account already. I have previously got a hacky create user account going in Wordpress so it created the same Nextcloud account but It was a hack as when it came to updating profiles you’ve to also sync them and make sure passwords are sync’d etc. A clean SSO solution would be a lot better.