Closed mmacata closed 3 years ago
If you don't support OIDC, you should not list it as supported. Your back-end lists it in the capabilities and returns with a success status code on the endpoint. That's invalid behavior. The Web Editor doesn't tolerate this behavior any longer and thus shows an error.
Allright, I feared something like this. I will remove it there. Thanks for the hint.
Sorry to reopen again - I removed the OIDC part from the capabilities so that they do not appear in the response anymore:
},
- {
- "path": "/credentials/oidc",
- "methods": [
- "GET"
- ]
- },
{
"path": "/credentials/basic",
And also disabled the endpoint totally. The fatal error (same javascript error) still appears. Requests to the openeo-grassgis-driver are:
Do you have any more hints?
I can connect to openeo.mundialis.de with the master version right now. There's no error for me.
We had a similar issue yesterday with EURAC, but the issue was some kind of dependency issue with npm.
Could you try deleting node_modules + package_lock.json and run npm install
etc. again to check whether it still errors with freshly loaded dependencies?
Now I get CORS errors? I rebuilt the docker image without cache and also tried it out locally without docker but no success. Which npm + node version are you using?
Hmm, that sounds like a connectivity issue or so. We could try to do a video call to debug, I can't reproduce it right now.
npm 7.10.0 node 14.3.0
🤦 I had http
instead of https
in my drop-down server suggestion list... That explains the CORS error. The other error really seemed to disappear after clearing the cache. Now it works for master branch both ways: locally and with docker.
Thank you for your help!
After the merge of
Better OpenID Connect integration, incl. refresh token support
(#161) I get an error connecting to the GRASS GIS backend, e.g. https://openeo.mundialis.de.Before (tested locally with
git checkout 81c0fb98115555311f1a3c48f3114d7e5f917267
:Now:
Error in javascript console says:
The openeo-grassgis-backend does not support OIDC Authentication yet.