diff --git a/src/auth/index.js b/src/auth/index.js index 5776050..06f94af 100644 --- a/src/auth/index.js +++ b/src/auth/index.js @@ -22,7 +22,7 @@ let expiredAlertShownInMemory = false; /** Login / public auth endpoints must not trigger token refresh or session-expiry reload. */ const isPublicAuthRequest = (reqUrl) => - reqUrl.includes('/login') || reqUrl.includes('/ldap-login'); + reqUrl.includes('/login'); /** Clear stale session-expiry flag so a new login attempt can show its own error dialog. */ export const clearExpiredSessionAlert = () => { diff --git a/src/auth/jwt/jwtService.js b/src/auth/jwt/jwtService.js index 884d090..430717a 100644 --- a/src/auth/jwt/jwtService.js +++ b/src/auth/jwt/jwtService.js @@ -46,7 +46,6 @@ export default class JwtService { if (response && response.status === 401) { const isPublicAuthRequest = reqUrl.includes('/login') || - reqUrl.includes('/ldap-login') || reqUrl.includes('/refresh-token') if (isPublicAuthRequest) { return Promise.reject(error)