File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/shared/containers/tc-communities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ class Loader extends React.Component {
48
48
) ) nextProps . loadMetaData ( communityId , tokenV3 ) ;
49
49
50
50
/* TODO: This is a hacky way to handle SSO authentication for TopGear
51
- * (Wipro) community visitors. Should be re-factored, but not it is not
51
+ * (Wipro) and Zurich community visitors. Should be re-factored, but not it is not
52
52
* clear, what exactly do we need to support it in general. */
53
- if ( communityId === 'wipro' && ! visitorGroups ) {
53
+ if ( ( communityId === 'wipro' || communityId === 'zurich' ) && ! visitorGroups ) {
54
54
const returnUrl = encodeURIComponent ( window . location . href ) ;
55
55
window . location = `${ config . URL . AUTH } /sso-login/?retUrl=${ returnUrl } &utm_source=wipro` ;
56
56
}
You can’t perform that action at this time.
0 commit comments