Nextcloud as an Oauth2 Authentication source

Would it be possible to add Nextcloud as an Oauth2 authentication source?

Docs onNextcloud Oauth2 provider

Send an issue on github