These instructions assume "https://example.com/" is the base URL for your NextCloud. Adjust according to your setup.
- Install the app (see README.md)
- Create a Facebook App
- Go to https://developers.facebook.com/
- Click "Create App"
- Enter something relevant for the name
- Go to "Basic" under "Settings" and enter relevant information:
- Display Name: NextCloud Login
- App Domains: https://example.com/
- Privacy Policy URL: https://example.com/privacy (this page doesn't need to exist yet)
- Website: https://example.com
- Click "Save changes"
- Click the "+" next to Products and add the "Facebook Login"
- Go to "Settings" under "Facebook Login" in the sidebar
- Client OAuth Login: enable this
- Web OAuth Login: enable this
- Enforce HTTPS: enable this
- Valid OAuth Redirect URIs: https://example.com/apps/sociallogin/oauth/facebook
- Click "Save"
- Go back to "Basic" under "Settings" and you should see an App ID and App Secret; store these somewhere safe
- Configure "Social Login" in NextCloud
- Login as an admin to your NextCloud
- Click "Settings" in the menu
- Under Administration click "Social login"
- In the bottom section under "Facebook" enter:
- App id: the "App ID" provided earlier
- Secret: the "App Secret" provided earlier
- Default group: Select the group you want users to be assigned
- Click "Save" at the very bottom
- Now, open up a new browser to test the login. On the login screen you should now see "Facebook" underneath the typical NextCloud login prompt.