Skip to content

Commit

Permalink
fix: Bogus access_token from Entra can cause PKCE redirect loop in ZBR (
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect authored Jan 10, 2025
1 parent b1b5679 commit 8bbabe2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/http/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,9 @@ ZitiHttpRequest.prototype.getServiceConnectAppData = function() {
}

// Automatic SSO for Isaiah
try {
headers.append( 'Remote-User', await this.getZitiContext().getAccessTokenEmail() );
} catch (e) {}

// if (!headers.has('Connection')) {
// headers.set('Connection', 'keep-alive');
Expand Down

0 comments on commit 8bbabe2

Please sign in to comment.