Skip to content

[v13] Add default GitHub API URLs to SSO connector#31480

Merged
tcsc merged 1 commit intobranch/v13from
bot/backport-31397-branch/v13
Sep 8, 2023
Merged

[v13] Add default GitHub API URLs to SSO connector#31480
tcsc merged 1 commit intobranch/v13from
bot/backport-31397-branch/v13

Conversation

@tcsc
Copy link
Copy Markdown
Contributor

@tcsc tcsc commented Sep 6, 2023

Backport #31397 to branch/v13

`tctl sso configure github` was producing an untestable connector
spec, or at least a spec that would _always fail_ when tested with
`tctl ssl test`, due to missing GitHub endpoints in the generated
spec.

This change adds the default GitHub endpoint URLs as default values
for the endpoint flags in `tctl sso configure github` so that the
produces spec is valis and testable.

Note: Our WebUI appears to magically add these values when saving
      a connector, so this issue only really effects `tctl sso test`

Includes doc update to match new output.

Fixes: #31396
Changelog: `tctl sso configure github` now includes default Github endpoints
@tcsc tcsc added this pull request to the merge queue Sep 8, 2023
Merged via the queue into branch/v13 with commit 6c8833b Sep 8, 2023
@tcsc tcsc deleted the bot/backport-31397-branch/v13 branch September 8, 2023 07:28
@camscale camscale mentioned this pull request Sep 20, 2023
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
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