Skip to content

Commit 60c6715

Browse files
committed
address comments
1 parent 3602d1d commit 60c6715

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/src/components/AuthManager/AuthManager.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ const AuthManager = () => {
262262
deleteCookie('jwt');
263263
setAuthToken('');
264264
setSignedIn(false);
265+
setRefreshUser(() => () => {});
265266
window.location.href = `${process.env.REACT_APP_SERVER_URL}/api/sso/logout`;
266267
}
267268

server/src/auth/passport-sso.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface SamlProfile extends Profile {
1010
email?: string;
1111
}
1212

13-
// Load IdP certificate
13+
// Load IdP certificate, necessary to authenticate with Cornell's SSO/SAML system
1414
const idpCertPath =
1515
process.env.SAML_IDP_CERT_PATH || './config/cornell-idp-test.crt';
1616
let idpCert = '';

0 commit comments

Comments
 (0)