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
How do I catch an error when the OP is not available?
I receive this error in the console and the application crashes:
AggregateError: Issuer.discover() failed.
RequestError: connect ECONNREFUSED 127.0.0.1:8024
RequestError: connect ECONNREFUSED 127.0.0.1:8024
at Function.discover (E:\code\app1\node_modules\openid-client\lib\issuer.js:265:17)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at pReflect (E:\code\app1\node_modules\p-reflect\index.js:5:17)
at async Promise.all (index 0)
at E:\code\app1\node_modules\p-memoize\index.js:33:22
at get (E:\code\app1\node_modules\express-openid-connect\lib\client.js:43:18)
at pReflect (E:\code\app1\node_modules\p-reflect\index.js:5:17)
at async Promise.all (index 0)
at get (E:\code\app1\node_modules\p-memoize\index.js:33:22)
Thanks for any help!
What was the expected behavior?
I would expect to be able to catch the error in the application and handle it accordingly.
Reproduction
Use example app, take OP offline, attempt authentication
Environment
express-openid-connect: 2.7.2
node: 16.15.1
The text was updated successfully, but these errors were encountered:
Describe the problem
How do I catch an error when the OP is not available?
I receive this error in the console and the application crashes:
Thanks for any help!
What was the expected behavior?
I would expect to be able to catch the error in the application and handle it accordingly.
Reproduction
Use example app, take OP offline, attempt authentication
Environment
express-openid-connect: 2.7.2
node: 16.15.1
The text was updated successfully, but these errors were encountered: