Step By Step Guide For WordPress Single Sign On (SSO) using NextCloud

If you want users to log in to your WordPress site using their NextCloud Application credentials, you can simply do it using our WP OAuth Client plugin. Once you configure theNextCloud with WordPress plugin, you can allow users to SSO to your WordPress site using NextCloud Application. Similarly, To know more about other features we provide in the WP OAuth Client plugin, you can click here.

You can download OAuth Client plugin using the following link.

Follow the Step-by-Step Guide to configure NextCloud as an OAuth Server:

  • Sign-in with an administrator account to your Nextcloud server.
  • Open the menu in the top-right corner and select Settings. On the next page, select the Security item in the "Administration" section on the left.
  • oauth109
  • At the top of the next page you see the list of registered clients, (which is empty initially). Below "Add client", enter the name of your OAuth Client (e.g., "miniOrange App") in the first field (Name). Note that the name that you enter here will be displayed to your Client users.
  • In the second field (Redirection URI), enter the URL of your OAuth Client followed.
  • Click Add to save. Afterwards, the page looks similar to the screenshot below.
  • fb9
  • Now you can connect OAuth client with NextCloud (OAuth Provider) and the following endpoints are:

  • Authorization endpoint: https://< your-nextcloud-domain >/apps/oauth2/authorize
    Token endpoint: https://< your-nextcloud-domain >/apps/oauth2/api/v1/token
    User info endpoint: https://< your-nextcloud-domain >/ocs/v2.php/cloud/user?format=json

Business Trial For Free

If you don't find what you are looking for, please contact us at or call us at +1 978 658 9387.