Using JMIX 2.1.1, it seems that the locale claims is not used to set the ClientDetails.
In LoginViewSupport, the following code is present:
ClientDetails clientDetails = ClientDetails.builder()
.locale(locale != null ? locale : getDefaultLocale())
.scope(SecurityScope.UI)
.sessionId(request.getSession().getId())
.timeZone(timeZone == null ? getDeviceTimeZone() : timeZone)
.build();
authenticationToken.setDetails(clientDetails);
I do not see similar code in JmixJwtAuthenticationConverter where the JmixJwtAuthenticationToken is created.
I also remark that, despite providing a “locale” claims, it does not change the language of the application. I suspect that the Timezone is equally ignored.
Am I missing something?