@@ -51,7 +51,7 @@ const RegisterCustom = () => { | |||||
+ "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | + "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | ||||
+ "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | + "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | ||||
//+"&state=" | //+"&state=" | ||||
+ "&brokerPage=false" | |||||
+ "&brokerPage=true" | |||||
window.location.assign(url); | window.location.assign(url); | ||||
} | } | ||||
}); | }); | ||||
@@ -74,7 +74,7 @@ const RegisterCustom = () => { | |||||
+ "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | + "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | ||||
+ "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | + "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | ||||
//+"&state=" | //+"&state=" | ||||
+ "&brokerPage=false" | |||||
+ "&brokerPage=true" | |||||
window.location.assign(url); | window.location.assign(url); | ||||
} | } | ||||
}); | }); | ||||
@@ -222,7 +222,7 @@ const AuthLoginCustom = () => { | |||||
+ "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | + "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | ||||
+ "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | + "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | ||||
//+"&state=" | //+"&state=" | ||||
+ "&brokerPage=false" | |||||
+ "&brokerPage=true" | |||||
window.location = url; | window.location = url; | ||||
} | } | ||||
}); | }); | ||||
@@ -260,7 +260,7 @@ const AuthLoginCustom = () => { | |||||
+ "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | + "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles") | ||||
+ "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | + "&lang=" + (locale === 'en' ? "en-US" : locale === 'zh-HK' ? "zh-HK" : "zh-CN") | ||||
//+"&state=" | //+"&state=" | ||||
+ "&brokerPage=false" | |||||
+ "&brokerPage=true" | |||||
window.location = url; | window.location = url; | ||||
} | } | ||||
}); | }); | ||||