Skip to content

[FIX] Make external auth choose correct header - #40

Merged
rileymcdowell merged 2 commits into
trinodb:mainfrom
mikekutzma:bugfix/multiple-auth
May 3, 2026
Merged

rileymcdowell merged 2 commits into
trinodb:mainfrom
mikekutzma:bugfix/multiple-auth

Conversation

@mikekutzma

Copy link
Copy Markdown
Contributor

When external auth is set, make sure the driver grabs the proper header even if there are multiple. This can happen when password auth and external auth are both configured.

Tested to resolve #39

When external auth is set, make sure the driver grabs the proper header even
if there are multiple. This can happen when password auth and external auth
are both configured.
@cla-bot cla-bot Bot added the cla-signed label Apr 27, 2026
@mikekutzma
mikekutzma requested a review from rileymcdowell May 2, 2026 15:13
@rileymcdowell

Copy link
Copy Markdown
Contributor

This looks solid. I like the newline-delimited workaround for the sending of duplicate headers.

@rileymcdowell
rileymcdowell merged commit da14a77 into trinodb:main May 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Driver crashes in External Auth mode when multiple www-authenticate headers present

2 participants