Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 97
0 REPLIES 0