rough-musician-16785
08/09/2023, 11:10 PMhydra perform authorization-code
app running at http://127.0.0.1:5555/. I get prompted for a password by kratos-selfservice-ui-node
and can get past that. However, once I have selected openid
from the list of permissions and click “Allow” i get sent to http://127.0.0.1:4455/consent with the following error:
Error: Request failed with status code 401
at createError (/usr/src/app/node_modules/@ory/client/node_modules/axios/lib/core/createError.js:16:15)
at settle (/usr/src/app/node_modules/@ory/client/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/usr/src/app/node_modules/@ory/client/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Looking at the logs from kratos-selfservice-ui-node
(as well as the browser developer tools) I can see that while the body mentions “status code 401" the actual status code sent is a 500
.
If i swap out kratos-selfservice-ui-node
with hydra-login-consent-node
it works… Any idea what I am doing wrong? I find the error message very opaque so not sure where to dig next