Social Auth Nextcloud allows users to register and login to Drupal site with their Nextcloud account. It is based on social auth and social api projects
Configuration
Check Readme.md
How it works
The user can click on the Nextcloud logo in the social auth login block.
You can also add a button or link anywhere on the site that points
to /user/login/nextcloud:your_nextcloud_url, so theming and customizing the button or link
is very flexible.
After Nextcloud has returned the user to your site, the module compares the
user id or email address provided by Nextcloud. If the user has previously
registered using Nextcloud or your site already has an account with the same
email address, the user is logged in. If not, a new user account is created.
Also, a Nextcloud account can be associated with an authenticated user.
Security note
Note that scoped access using oauth is not done in nextcloud yet. read more at
https://docs.nextcloud.com/server/latest/admin_manual/configuration_serv...
Social auth Developing notes
This module also shows how the social_auth 4.x module could be used as a base to allow multiple servers of same kind (as gitlab, nextcloud, fediverse oriented instances...) to provide auth access. To obtain more information on this you can see the diff between unique url provider plugin and multiple urls provider plugin and the derivative plugin discussion at issue https://www.drupal.org/project/social_auth/issues/3360455.
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.- Project categories: Integrations
- Ecosystem: Drupal Social Network
13 sites report using this module
- Created by aleix on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
