Skip to content

[v13] Reuse auth connection for Okta client#25645

Merged
rosstimothy merged 1 commit intobranch/v13from
bot/backport-25622-branch/v13
May 4, 2023
Merged

[v13] Reuse auth connection for Okta client#25645
rosstimothy merged 1 commit intobranch/v13from
bot/backport-25622-branch/v13

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #25622 to branch/v13

The Okta client was creating a separate connection to Auth in
`auth.NewClient` instead of reusing the gRPC connection of the
api client. Since this method is used by every Teleport instance
when establishing their initial connection to Auth it poses two
problems:
 1) Auth now has one additional connection per instance
 2) Proxies require an additional trasnport channel per tunnel

Fixes #25235
@rosstimothy rosstimothy requested a review from zmb3 May 4, 2023 18:49
@rosstimothy rosstimothy enabled auto-merge May 4, 2023 18:49
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from fspmarshall May 4, 2023 19:58
@rosstimothy rosstimothy added this pull request to the merge queue May 4, 2023
Merged via the queue into branch/v13 with commit e9cd4a8 May 4, 2023
@rosstimothy rosstimothy deleted the bot/backport-25622-branch/v13 branch May 4, 2023 20:21
@r0mant r0mant mentioned this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants