OpenID: Expected 200 OK, got 302 Found
Hi, first of all thanks for this plugin.
While trying to use my NextCloud instance as an OpenID provider for Peertube I ran into a problem where apparently Peertube can't access the provider information because it expects a 200 OK.
23:13:48 peertube_peertube_1[31485]: "err": {
23:13:48 peertube_peertube_1[31485]: "stack": "OPError: expected 200 OK, got: 302 Found\n at processResponse (/data/plugins/node_modules/openid-client/lib/helpers/process_
response.js:41:11)\n at Function.discover (/data/plugins/node_modules/openid-client/lib/issuer.js:179:18)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections
(node:internal/process/task_queues:96:5)\n at async loadSettingsAndCreateClient (/data/plugins/node_modules/peertube-plugin-auth-openid-connect/main.js:185:18)",
23:13:48 peertube_peertube_1[31485]: "message": "expected 200 OK, got: 302 Found",
23:13:48 peertube_peertube_1[31485]: "error": "expected 200 OK, got: 302 Found",
The configuration URL is at https://cloud.bitwaves.de/index.php/apps/oidc/openid-configuration and seems to be accessible just fine without any login, maybe peertube is a bit too strict here?
Cheers, Normen