From 3a1b06b86c191d355da30bf4dc44612b26e8fe14 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Tue, 10 Jan 2023 20:17:14 -0300 Subject: [PATCH] [FIX] Not Login with SSO after upgrade to version 5.4.0 and 5.4.1 (#4783) * [FIX] Not Login with SSO after upgrade to version 5.4.0 and 5.4.1 * minor tweak --- app/views/AuthenticationWebView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/AuthenticationWebView.tsx b/app/views/AuthenticationWebView.tsx index 5b0d7f3f2..340f291a6 100644 --- a/app/views/AuthenticationWebView.tsx +++ b/app/views/AuthenticationWebView.tsx @@ -16,8 +16,8 @@ import { Services } from '../lib/services'; import { IApplicationState, ICredentials } from '../definitions'; const userAgent = isIOS - ? 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1' - : 'Mozilla/5.0 (Linux; Android 6.0.1; SM-G920V Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36'; + ? 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1' + : 'Mozilla/5.0 (Linux; Android 12; SM-A315G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Mobile Safari/537.36'; // iframe uses a postMessage to send the token to the client // We'll handle this sending the token to the hash of the window.location