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…
We successfully added OAuth authentication via Nextcloud to our FrontDoor Inbox (SaaS Ticket System) service.
We have been looking at doing this as a WordPress plugin as well. But there should be plenty of OAuth plugins already available for WordPress, maybe have a look at how they’re doing it?
I know it’s an old thread but this page kept coming up when I was searching for a way to login to WordPress with Nextcloud, needless to say, I couldn’t get any of the generic plugins to work so I built my own Tim's Nextcloud SSO OAuth2 – WordPress plugin | WordPress.org
It is new so if you do have any problems just reach out.
Yes, this works perfectly.
Also, I use WPS Hide Login to easily and securely change the URL of the login form page in Wordpress, and with this miniOrange plugin I have no problem identifying myself with Nextcloud.
I know this is an old thread, but I’m attempting the same thing.
I’ve tried all the suggestions here, and love how easy Tim’s Nextcloud SSO OAuth2 – WordPress plugin | WordPress.org is to set up. The problem is that I keep getting “Unrecognised response when requesting Nextcloud user data” every time I try to log in.
None of the others work either…
Currently testing on WP6.4.3 and NC28.0.2
I have nothing in the NC logs to give me a path to troubleshoot, but the debug logs gave this response:
[2024-02-18 21:09:48] URL: https://[domain]/ocs/v2.php/cloud/user?format=json, Response: {"ocs":{"met\
a":{"status":"failure","statuscode":997,"message":"Current user is not logged in"},"data":[]}}
[2024-02-18 21:09:48] Unrecognised response when requesting Nextcloud user data, response: {"ocs":{"meta":{"stat\
us":"failure","statuscode":997,"message":"Current user is not logged in"},"data":[]}}