Install nextcloud [using snap](https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-22-04). This installs the latest released version from the Nextcloud app store, so for development: ``` sudo /bin/bash cd /var/snap/nextcloud/current/nextcloud/extra-apps/ rm -r solid git clone https://github.com/pdsinterop/solid-nextcloud ln -s solid-nextcloud/solid cd solid apt update apt install -y php git php-curl php-gd php-opcache php-xml php-gd \ php-curl php-zip php-json libxml2 libxml2-dev php-xml php-mbstring \ build-essential curl php-sqlite3 php-xdebug php-mbstring php-zip \ php-imagick imagemagick php-intl make ```
Activity
michielbdejong commentedon Sep 27, 2022
Now visit e.g. https://nextcloud-test-server.michielbdejong.com/index.php/apps/solid/ and it will trigger an upgrade process.
michielbdejong commentedon Sep 27, 2022
Problem: there are CORS headers now on https://nextcloud-test-server.michielbdejong.com/index.php/apps/solid/@michiel/profile/card#me but not on https://nextcloud-test-server.michielbdejong.com/.well-known/openid-configuration
michielbdejong commentedon Sep 27, 2022
-> fixed with
$result->addHeader('Access-Control-Allow-Origin', '*');in lib/WellKnown/OpenIdConfigurationHandler.phpmichielbdejong commentedon Sep 27, 2022
Now testing with https://noeldemartin.github.io/solid-focus/, logging in as https://nextcloud-test-server.michielbdejong.com/index.php/apps/solid/@michiel/profile/card#me I get:
OpenID Configuration is missing jwks_uri.michielbdejong commentedon Sep 27, 2022
Ah, that was because I had it messed up, fixed.
Now trying with https://inrupt.github.io/solid-oidc-tests/ I see a 500 on https://nextcloud-test-server.michielbdejong.com/index.php/apps/solid/authorize?response_type=code&scope=openid%20webid&code_challenge=_XmZKTKaRSwqCgajOFon3NtbWJpEAvjkc0yD-xsPi1Y&code_challenge_method=S256&client_id=https%3A%2F%2Finrupt.github.io%2Fsolid-oidc-tests%2Fdata%2Ftester.jsonld&redirect_uri=https%3A%2F%2Finrupt.github.io%2Fsolid-oidc-tests%2Fcallback.html
Debugging with
tail /var/snap/nextcloud/current/logs/nextcloud.logSee #92 (comment)
Update snap install instructions (see also #92)
michielbdejong commentedon Oct 6, 2022
Done