Closed georgepadayatti closed 5 months ago
there was an error handling missing in the backend service regarding the authorization endpoint. Specifically, if the parameter authorizatiton_details was missing the service would crash.
As this is only a testing service specific validations are not implemented for the authorization details requested (which should include the credential that the authorizatiton code should apply to). For this reason a simple check was added so that the service doesn't crash in this case:
const authorizationDetails = req.query.authorization_details ? JSON.parse( decodeURIComponent(req.query.authorization_details) //TODO this contains the credentials requested ) : null;
It was working perfectly just half an hour before.
Log
Screenshot: