How to modify error structure answered by microgateway

Hi community,

Do you know how to modify the error structure answered by microgateway ?

For example, if you have an authentification error and the microgateway answer:

{ "error": "missing_authorization",

"error_description": "Missing Authorization header"}

How could we force the microgateway to answer :

{"error_code": "401",

"error_message": "missing_authorization",

"error_description": "Missing Authorization header"}

Thanks a lot for ideas.

Bertrand

0 0 78