Skip to content

Commit 060c854

Browse files
jamsdenclaude
andcommitted
fix: let auth interceptor handle LQE 401s instead of overriding validateStatus
The LQE incoming-links method overrode validateStatus to reject 401, which bypassed the auth interceptor. Remove the override so 401 responses go through the standard auth dispatch (JEE forms, Basic, SSO, etc.). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 290d015 commit 060c854

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

LDMClient.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,6 @@ export default class LDMClient extends OSLCClient {
299299
const response = await this.client.post(endpoint, params.toString(), {
300300
auth: requestAuth,
301301
headers,
302-
// Override base validateStatus — don't accept 401 for LQE requests
303-
// (LQE uses different auth from the app server)
304-
validateStatus: status => status < 400
305302
});
306303
const data = response.data;
307304

0 commit comments

Comments
 (0)