issues
search
kaleido-io
/
kaleido-iden3-samples
Sample code for using the iden3 protocol to issue verifiable claims
Apache License 2.0
6
stars
4
forks
source link
Improve /callback error handling and response processing
#25
Closed
nedgar
closed
1 year ago
nedgar
commented
1 year ago
A few tweaks:
moves the rest of the callback handler within the
try
block
logs the request body (the auth response)
adds some error checks (e.g. if session ID unknown)
logs the error
formats the error response in JSON
simplification: use
res.json
FYI @jimthematrix @Chengxuan
A few tweaks:
try
blockres.json
FYI @jimthematrix @Chengxuan