Skip to content

allow OSS GitHub connector with public github endpoint#55405

Merged
greedy52 merged 1 commit intomasterfrom
STeve/55352_fix_tctl_create_github
Jun 9, 2025
Merged

allow OSS GitHub connector with public github endpoint#55405
greedy52 merged 1 commit intomasterfrom
STeve/55352_fix_tctl_create_github

Conversation

@greedy52
Copy link
Copy Markdown
Contributor

@greedy52 greedy52 commented Jun 3, 2025

fixes #55352:

changelog: fixed an issue output from tctl sso configure github could not be used with tctl create in OSS Teleport

Comment thread lib/services/github.go
if githubConnector.Spec.APIEndpointURL != "" &&
githubConnector.Spec.APIEndpointURL != types.GithubAPIURL {
return nil, fmt.Errorf("GitHub API endpoint URL is set: %w", ErrRequiresEnterprise)
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// GetEndpointURL returns the endpoint URL
func (c *GithubConnectorV3) GetEndpointURL() string {
return GithubURL
}
// GetEndpointURL returns the API endpoint URL
func (c *GithubConnectorV3) GetAPIEndpointURL() string {
return GithubAPIURL
}

@greedy52 greedy52 added this pull request to the merge queue Jun 9, 2025
Merged via the queue into master with commit 84baead Jun 9, 2025
47 checks passed
@greedy52 greedy52 deleted the STeve/55352_fix_tctl_create_github branch June 9, 2025 15:40
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@greedy52 See the table below for backport results.

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

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.

tctl configure github by default prints a configuration incompatible with OSS teleport

3 participants