Skip to content

Commit fd01037

Browse files
committed
Readme: Added Nextcloud configuration
1 parent 7c7b384 commit fd01037

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This README file contains the following main sections:
1919
+ [Github](#github)
2020
+ [Google](#google)
2121
+ [Joomla](#joomla)
22+
+ [Nextcloud](#nextcloud)
2223
+ [Spotify](#spotify)
2324
+ [WordPress](#wordpress)
2425
+ [Trouble Shooting](#trouble-shooting)
@@ -65,6 +66,7 @@ Currently, the following authorization providers are supported:
6566
+ **Github**
6667
+ **Google**
6768
+ **Joomla** (with a specific authorization provider extension installed in Joomla)
69+
+ **Nextcloud**
6870
+ **Spotify**
6971
+ **WordPress** (with a specific authorization provider plugin installed in WordPress)
7072

@@ -236,11 +238,27 @@ Joomla_urlAuthorize='xxx'
236238
Joomla_signInButtonLabel='xxx'
237239
```
238240
+ Insert the configuration details from the Joomla OAuth 2.0 Server into the newly included configuration lines of your config.ini.php file:
239-
+ **Joomla_clientId**='...' (value for "Client ID" shown in the Joomla extension, like described above)
240-
+ **Joomla_clientSecret**='...' (value for "Client Secret" shown in the Joomla extension, like described above)
241+
+ **Joomla_clientId**='...' (value for "Client ID" shown in Nextcloud)
242+
+ **Joomla_clientSecret**='...' (value for "Client Secret" shown in Nextcloud)
241243
+ **Joomla_urlAuthorize**='JOOMLA_BASE_URL/index.php' (JOOMLA_BASE_URL from your Joomla installation, e.g. 'https://mysite.net/joomla')
242244
+ **Joomla_signInButtonLabel**='...' (the label, which shall be shown for the sign in button etc.)
243245

246+
### Nextcloud
247+
+ Open the chapter about OAuth2 configuration in the [Nextcloud Administration Manual](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/oauth2.html#add-an-oauth2-application)
248+
+ Configure a new OAuth2 client app in Nextcloud like described in chapter "Add an OAuth2 Application"
249+
+ Open your webtrees config.ini.php file and add the following lines (copy/paste to the end):
250+
```PHP
251+
Nextcloud_clientId='xxx'
252+
Nextcloud_clientSecret='xxx'
253+
Nextcloud_nextcloudUrl='xxx'
254+
Nextcloud_signInButtonLabel='xxx'
255+
```
256+
+ Insert the configuration details from your Nextcloud server into the newly added configuration lines of your config.ini.php file:
257+
+ **Nextcloud_clientId**='...' (value for "Client Identifyer" shown in Nextcloud)
258+
+ **Nextcloud_clientSecret**='...' (value for "Client Secret" shown in Nextcloud)
259+
+ **Nextcloud_nextcloudUrl**='NEXTCLOUD_BASE_URL' (NEXTCLOUD_BASE_URL from your Nextcloud installation, e.g. 'https://mysite.net/nextcloud')
260+
+ **Nextcloud_signInButtonLabel**='...' (the label, which shall be shown for the sign in button etc.)
261+
244262
### Spotify
245263
+ Open the [Spotify](https://open.spotify.com/login) page and log into your Dropbox account
246264
+ Open the [Create apps page]( https://developer.spotify.com/dashboard/create)

0 commit comments

Comments
 (0)