Set the encoding of the UserInfo response body to UTF-8
See http://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponsepull/1079/merge
parent
1b7612a26d
commit
dea6044e77
|
@ -99,6 +99,7 @@ public class UserInfoView extends AbstractView {
|
|||
Set<String> scope = (Set<String>) model.get(SCOPE);
|
||||
|
||||
response.setContentType(MediaType.APPLICATION_JSON_VALUE);
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
|
||||
|
||||
JsonObject authorizedClaims = null;
|
||||
|
|
Loading…
Reference in New Issue