Tim's Nextcloud SSO OAuth2
by Tim Oxendale 5 (8 reviews)

Tim's Nextcloud SSO OAuth2

Enables you to login to your WordPress site with your Nextcloud account with OAuth2

Tim's Nextcloud SSO OAuth2 ranks #11,202 among WordPress.org plugins with 200+ active installations, is #294 of 1,586 in the Authentication category, a 5/5 rating from 8 reviews, and was last updated Sep 15, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.1
v2.0.3 Current Version v2.0.3
Updated 4 days ago Last Update on 15 Sep, 2026
Refreshed 7 hours ago Last Refreshed on
#294 of 1,586 in Authentication Top 25% by installs Actively maintained
View on WordPress.org
Rank
#11,202
No change
Active Installs
200+
-32.9%
KW Avg Position
6.8
1 worse
Downloads
5.1K
+11 today
Support Resolved
0%
No change
Rating
100%
Review 5 out of 5
5 (8 reviews)

Next Milestone 300

Total Progress 99%
200+ 300+
17
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 1 more installs to reach 300+

Rank Changes

11,165 11,200 11,235 11,269 11,304 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026 19-09-2026
11,140 11,183 11,227 11,270 11,313 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026 19-09-2026
Current #11,202
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 30 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026 19-09-2026
0 10 20 30 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026 18-09-2026 19-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
8 reviews
Overall 100%
5
8 (100%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Tim's Nextcloud SSO OAuth2. Checked 1 month ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners who want their users to log in using Nextcloud accounts. It solves the problem of separate logins by adding OAuth2-based single sign-on between Nextcloud and WordPress, with configurable role mapping and redirects.

  • OAuth2 login with Nextcloud
  • Login button on login page
  • Shortcode for custom button
  • Maps Nextcloud groups to WordPress roles
  • Configurable post-login redirect
  • Auto-redirect via nc-sso parameter
  • Compatible with External sites app

Frequently Asked Questions

Common questions about Tim's Nextcloud SSO OAuth2

If you go to the settings page (Settings -> Nextcloud OAuth2) it gives you a simple breakdown of what's needed to setup the OAuth2 connection with your Nextcloud install. Login to your Nextcloud install Go to Settings -> Security Then under "OAuth 2.0 clients" add a new client Set the name to anything you like and the redirect URL to your site URL Then copy the Client Identifier and Secret keys in the form
This is the URL that you have installed Nextcloud at e.g. https://cloud.example.com/, if you have installed it in a subfolder, please include that e.g. https://example.com/cloud/. If your Nextcloud URLs look like https://example.com/index.php/apps/dashboard/ then please include the /index.php/ in the URL e.g. https://example.com/index.php/.
It's under Settings and called "Nextcloud OAuth2"
Yes, it's [nextcloud_login class="btn"]button text[/nextcloud_login] and there is an option to enable a button on the WordPress login screen, or you can use the URL www.example.com/wp-login.php?nc-sso=redirect
Yes, there is: tims_nso_authorize_url which is the Nextcloud URL the user gets redirected to, and is also the last hook before they go off to your install of Nextcloud, example: add_filter('tims_nso_nextcloud_login_button_url', 'custom_function_name_one'); function custom_function_name_one($authorize_url){ // custom code return $authorize_url; } tims_nso_successful_login_redirect which is the URL the user goes to after successfully coming back from Nextcloud, example: add_filter('tims_nso_successful_login_redirect', 'custom_function_name_two'); function custom_function_name_two($redirect_url){ // custom code return $redirect_url; } tims_nso_nextcloud_login_button_url which is the URL the login button and shortcode login button uses, example: add_filter('tims_nso_nextcloud_login_button_url', 'custom_function_name_three'); function custom_function_name_three($url){ // custom code return $url; } tims_nso_nextcloud_user_matched which is the WordPress WP_User (Object) and the user data (Object) from Nextcloud for the successful matched user, example: add_filter('tims_nso_nextcloud_user_matched', 'custom_function_name_four', 10, 2); function custom_function_name_four($user,$nextcloud){ // custom code return $user; } I'm getting a "Nextcloud server returned but with an invalid state for this session" error Before you go off to Nextcloud the site needs to store a unique key to verify the response when you come back, if this key is removed before you come back this is when you see this message. By default, the key is stored in the PHP session but if you're having trouble you can go into the plugin options and set the "Temp Key Storage Type" to use a Cookie and this should solve the issue.
If you check the JS console log and see a message like "Refused to send form data to ... because it violates the following Content Security Policy directive...." then you need to edit your Nextcloud config file, usually located at nextcloud/config/config.php and add the line: 'overwriteprotocol' => 'https',
Nope, just a simple free plugin to enable you to login to your site with Nextcloud. I need help If you have any problems please reach out on the support forum or directly here. I'll try my best to help.

Sign In / Register

You need to sign in or register to use this feature.