A client ran into an issue where he was attempting to get oauth2 creds via OAuth2Client.fetchAccessTokenFromJWT and got a "more than one client registered" NuxeoException on the server side.
Include the Accept: application/json header so that the result comes as JSON and not HTML.
- depends on
-
NXP-31104 Write correctly the error when uncaught exceptions occur in OAuth2 servlet
- Resolved