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
Hm, none of the flag combinations I tried seem to work, even though https://httpd.apache.org/docs/2.4/rewrite/flags.html seems to say it should just work the same way, but with passthrough or proxy instead of redirect.
Refused to send form data to 'https://test.server.com/apps/solid/sharing/812ec203ee00103a80d847d7c3d0ace6?returnUrl=/apps/solid/authorize?client_id%3D812ec203ee00103a80d847d7c3d0ace6%26scope%3Dopenid%2520offline_access%2520webid%26response_type%3Dcode%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A3000%252Fredirect-from-solid-idp%26code_challenge%3De_fCMrHdT4oqMNY_6CgNY6L7dO4Uy9B8Xhi6v_JWMMI%26state%3DNbgUGvU2v2q3UpPpHriCUpZaC73coXOHjVWIp0BNHNM%26code_challenge_method%3DS256%26prompt%3Dconsent' because it violates the following Content Security Policy directive: "form-action 'self' localhost".
I saw in the database that it does set the client id to the domain with https, so i'll try if i can get my bot example working if i deploy it to Heroku
Activity
michielbdejong commentedon Jun 17, 2022
First one:
https://test.server.com/.well-known/openid-configuration redirects to https://test.server.com/apps/solid/openid with a 302 and https://www.npmjs.com/package/openid-client doesn't like that. It wants a 200 response directly.
michielbdejong commentedon Jun 17, 2022
According to the openid spec
Redirects are allowed in the webfinger part of discovering someone's issuer:
https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery
but we're not allowed to do a redirect in the provider configuration response:
https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse
michielbdejong commentedon Jun 17, 2022
The 302 is coming from https://github.com/pdsinterop/solid-nextcloud/blob/531f6c4/init-live.sh#L6
michielbdejong commentedon Jun 17, 2022
If I change
I get a 404 instead of a 302, with a body
{"message":"openid-configuration not supported"}Now trying with
[PT,L]michielbdejong commentedon Jun 17, 2022
Hm, none of the flag combinations I tried seem to work, even though https://httpd.apache.org/docs/2.4/rewrite/flags.html seems to say it should just work the same way, but with passthrough or proxy instead of redirect.
Will try with https://github.com/pdsinterop/solid-nextcloud/tree/test-server-24 now.
michielbdejong commentedon Jun 17, 2022
That fixed it! :) Next error:
ref #76 (comment)
Return 201 on register, ref #76 (comment)
michielbdejong commentedon Jun 17, 2022
Fixed in the test-server-24 branch. Next error:
When clicking 'Allow' in the NC GUI you don't get redirected back to the app.
michielbdejong commentedon Jun 17, 2022
The web console shows:
michielbdejong commentedon Jun 17, 2022
It does work correctly when I try to log in to https://noeldemartin.github.io/media-kraken/ with my test server.
michielbdejong commentedon Jun 17, 2022
Hm, I put the bot example on http://test.server.com:3000 but that didn't help either. Maybe Nextcloud wants the redirect to be https?
michielbdejong commentedon Jun 17, 2022
@ylebre any idea? (I sent you the test server URL and credentials via Slack)
michielbdejong commentedon Jun 17, 2022
I saw in the database that it does set the client id to the domain with https, so i'll try if i can get my bot example working if i deploy it to Heroku
michielbdejong commentedon Jun 17, 2022
Hm, same error when trying to log in to https://solid-bot-example.herokuapp.com/login :(
I'll have to leave it here, will check back when I have time next week...
ylebre commentedon Jun 28, 2025
Quite late to the party, but I've managed to get this up and running.
There are a few changes that I've had to do, those are in the branch feature/solid-bot-example to be reviewed:
ylebre commentedon Jun 28, 2025
PR with the changes: #215