on 2019 Apr 29 2:38 PM
Hi Guys,
i want to customize the error which i am getting from the oauth server at run time, to maintain all errors generic i want all error format as same. below is the default error message,
{ "error": "invalid_grant", "error_description": "Bad credentials" }
instead that i want to customize like below,
{ "message": "custom message", "reason": "custom reason", "subjectType": "custom subjectType", "type": "type", "error": "invalid_grant", "error_description": "Bad credentials" }
Does anyone have an idea about this?
Thanks in advance.
M P
Request clarification before answering.
User | Count |
---|---|
19 | |
15 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.