Skip to content

Commit e6ff7cd

Browse files
committed
SSO for Zurich
1 parent 1074596 commit e6ff7cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/containers/tc-communities/Loader.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ class Loader extends React.Component {
4848
)) nextProps.loadMetaData(communityId, tokenV3);
4949

5050
/* 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
5252
* clear, what exactly do we need to support it in general. */
53-
if (communityId === 'wipro' && !visitorGroups) {
53+
if ((communityId === 'wipro' || communityId === 'zurich') && !visitorGroups) {
5454
const returnUrl = encodeURIComponent(window.location.href);
5555
window.location = `${config.URL.AUTH}/sso-login/?retUrl=${returnUrl}&utm_source=wipro`;
5656
}

0 commit comments

Comments
 (0)