Closed
Description
The OAuth2UserService
implementations use NimbusUserInfoResponseClient
to fetch the UserInfo
resource and converts the response to a Map
using MappingJackson2HttpMessageConverter
.
NimbusUserInfoResponseClient
should explicitly set the Accept
header to application/json
as some provider's may default the content-type to another format other than JSON, for example, XML.