peertube-plugin-auth-openid-connect: does not work with WP-OAuth
I am using WP-OAuth as OpenID provider, it works fine (tested with OpenID Connect Playground). However, plugin peertube-plugin-auth-openid-connect is unable to complete the flow: I receive following error:
"message":"invalid_grant (Authorization code doesn't exist or is invalid for the client)","name":"OPError","stack":"OPError: invalid_grant (Authorization code doesn't exist or is invalid for the client)\n at processResponse (/var/www/peertube/storage/plugins/node_modules/openid-client/lib/helpers/process_response.js:45:13)\n at Client.grant (/var/www/peertube/storage/plugins/node_modules/openid-client/lib/client.js:1251:26)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async Client.callback (/var/www/peertube/storage/plugins/node_modules/openid-client/lib/client.js:462:24)\n at async handleCb (/var/www/peertube/storage/plugins/node_modules/peertube-plugin-auth-openid-connect/main.js:226:22)","error":"invalid_grant","error_description":"Authorization code doesn't exist or is invalid for the client"
Error happens between
GET /plugins/auth-openid-connect/0.0.2/auth/openid-connect and
GET /plugins/auth-openid-connect/router/code-cb?code=(long code here)&iframe=break
Anyone has came up to similar problem?