Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare to remove go-oidc/oauth2 from config packages #48596

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

rosstimothy
Copy link
Contributor

Adds a OAuthClientCredentials type directly into the servicecfg package so that the dependency on go-oidc/oauth2 can be removed. The PluginOAuthProviders.Slack field has been deprecated, but left in place so as not to break teleport.e and a new PluginOAuthProviders.SlackCredentials field has been added to use the new type. Both fields are being populated with the same data from the file config at the moment. Once teleport.e has been updated to consume the credentials from PluginOAuthProviders.SlackCredentials the original field will be removed.

@rosstimothy rosstimothy added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v16 backport/branch/v17 labels Nov 7, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-48596.d3pp5qlev8mo18.amplifyapp.com

@rosstimothy rosstimothy marked this pull request as ready for review November 7, 2024 16:52
lib/service/servicecfg/auth.go Outdated Show resolved Hide resolved
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from kiosion November 7, 2024 18:23
Adds a OAuthClientCredentials type directly into the servicecfg
package so that the dependency on go-oidc/oauth2 can be removed.
The PluginOAuthProviders.Slack field has been deprecated, but left
in place so as not to break teleport.e and a new
PluginOAuthProviders.SlackCredentials field has been added to use
the new type. Both fields are being populated with the same data
from the file config at the moment. Once teleport.e has been updated
to consume the credentials from PluginOAuthProviders.SlackCredentials
the original field will be removed.
@rosstimothy rosstimothy force-pushed the tross/oauth_client_creds branch from c1cfb68 to d1464bf Compare November 7, 2024 18:29
@rosstimothy rosstimothy enabled auto-merge November 7, 2024 18:29
@rosstimothy rosstimothy added this pull request to the merge queue Nov 7, 2024
Merged via the queue into master with commit 02cb90b Nov 7, 2024
40 checks passed
@rosstimothy rosstimothy deleted the tross/oauth_client_creds branch November 7, 2024 19:05
@public-teleport-github-review-bot

@rosstimothy See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR
branch/v17 Create PR

rosstimothy added a commit that referenced this pull request Nov 8, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
github-merge-queue bot pushed a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
github-actions bot pushed a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
github-actions bot pushed a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
rosstimothy added a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
rosstimothy added a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
github-merge-queue bot pushed a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
github-merge-queue bot pushed a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
github-merge-queue bot pushed a commit that referenced this pull request Nov 12, 2024
Follow up to #48596
to remove the deprecated field now that
gravitational/teleport.e#5373 has removed
the last usages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants