on 2019 Apr 26 2:42 PM
Hi,
Currently i am getting exception like "error": "unsupported_grant_type" while try to get Oauth access token. I need to customize that error response with error type like validation error.
I saw that oAuth2ExceptionRendererV2 has exceptionConverter but still i have error in below format { "error": "unsupported_grant_type", "error_description": "Unsupported grant type: passwor" }
I need to add type in error response like { "errors": [ { "message": "forgoodtest@gmail.com", "type": "DuplicateUidError" } ] }
There is any way to customize the Oauth2Exception? Please guide me on this
Request clarification before answering.
Hi . Thank you for your response i will check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 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.