You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+7-14Lines changed: 7 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,18 @@ After installing and enabling the appin your Nextcloud instance, take the JSON f
5
5
6
6
`https://cloud.pondersource.org/index.php/apps/solid/openid` (depending on your hostname and whether you have the `index.php/` part in there)
7
7
8
-
and put that into e.g. `/var/www/html/.well-known/openid-configuration` (depending on your webroot being e.g. `/var/www/html`)
9
-
Or you should
10
-
[edit your .htaccess file](https://github.com/solid/test-suite/blob/665824af763ddd5dd7242cbc8b18faad4ac304e3/servers/nextcloud-server/init.sh#L5)
11
-
and then test whether https://your-nextcloud-server.com/.well-known/openid-configuration redirects to https://your-nextcloud-server.com/apps/solid/openid.
12
-
13
-
Check that it works: `https://cloud.pondersource.org/.well-known/openid-configuration`
14
-
Then, take the CORS instructions from site.conf and add them to your own webserver configuration.
15
-
In particular, add this section to your apache site.conf:
16
-
```
17
-
<Directory /var/www/html/.well-known/>
18
-
Header always set Access-Control-Allow-Origin: *
19
-
</Directory>
20
-
```
21
-
Then restart Apache.
8
+
and put that into e.g. `/var/www/html/.well-known/openid-configuration` (depending on your webroot being e.g. `/var/www/html`).
22
9
23
10
In earlier versions of this app (e.g. the one in the Dockerfile we use for running the Solid test suite) we
24
11
used a redirect from /.well-known/openid-configuration to /index.php/apps/solid/openid but it's difficult
25
12
to add CORS headers to a redirect, so that's why just copying the file into a folder like that is preferable.
26
13
14
+
If you do want to try doing it with the redirect, you should
15
+
[edit your .htaccess file](https://github.com/solid-contrib/test-suite/blob/665824af763ddd5dd7242cbc8b18faad4ac304e3/servers/nextcloud-server/init.sh#L5)
16
+
and then test whether https://your-nextcloud-server.com/.well-known/openid-configuration redirects to https://your-nextcloud-server.com/apps/solid/openid.
17
+
18
+
Check that it works: `https://cloud.pondersource.org/.well-known/openid-configuration`
0 commit comments