Oauth to allow nextcloud users to connect on Wordpress

Hi everybody,

Is anyone tryed to connect nextcloud with wordpress using oauth or anything else ?
I am trying to allow nextcloud users to use their same login/password to publish on Wordpress.
I always get an invalid token message…

I dont want to manage 2 different list of users.

How can I do this ?

Thanks

You can use an LDAP (Active Directory) user database on both…

thank you but it’s impossible for me to implement this kind of service on my provider platform.

Might do the trick, but I have not tested it myself yet.

I’ve tried the daggerhart/openid-connect-generic WP plugin with Nextcloud as OAuth2-Provider. No luck so far. Able to grant WP access to Nextcloud-OAuth and authenticate user via Nextcloud login screen, but I then get stuck on exactly the same ‘invalid-token-response’ error as described by someone else here: https://stackoverflow.com/questions/62931154/error-invalid-token-response-wordpress-5-4-2-oauth2-client-nextcloud-19