You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the middleware service is invoked with the standard rest api and the Accept-Language header is set in the request, then it is expected that UserSession in the service implementation will have the corresponding locale. However, it doesn't.
The problem is that REST API filter sets the locale from the Accept-Language header to the UserInvocationContext:
Environment
Description of the bug or enhancement
If the middleware service is invoked with the standard rest api and the
Accept-Language
header is set in the request, then it is expected that UserSession in the service implementation will have the corresponding locale. However, it doesn't.The problem is that REST API filter sets the locale from the
Accept-Language
header to the UserInvocationContext:When the middleware service is invoked after that, this value is not used.
Forum: https://www.cuba-platform.ru/discuss/t/ignoriruetsya-accept-language-pri-poluchenii-access-tokena-s-pomoshhyu-refresh-tokena-cherez-rest-api/2926
The text was updated successfully, but these errors were encountered: