This plugin is outdated and might not be supported anymore
Tim's Nextcloud SSO OAuth2

Tim's Nextcloud SSO OAuth2

Details
View on WordPress

Just a simple OAuth2 plugin so you can login to your WordPress site from Nextcloud, there is an option to add a login button on the WordPress login page and a shortcode so you can generate your own button. You can set what Nextcloud user groups get mapped to what WordPress user role and what page the users get redirected to on successful login. If you’re using the External sites app in Nextcloud you can set the URL as www.example.com/wp-login.php?nc-sso=redirect and it will auto redirect the user to your Nextcloud install to login without them having to click the login button.

The plugin has been tested with Nextcloud 20.0.14 to 24.0.2.

If you have any problems please reach out on the support forum or directly here.

Note this isn’t an official plugin from Nextcloud, it’s just from someone that uses it with WordPress alot.

Details

Plugin code:
tims-nextcloud-sso-oauth2
Plugin version:
2.0.2
Outdated:
Yes
WP version:
4.0.0 or higher
PHP version:
7.0 or higher
Test up to WP version:
6.3.5
Total installations:
300
Last updated:
2023-08-11
Rating:
Times rated:
8
login
nextcloud
oauth-2-0
single-sign-on
wordpress-sso