Skip to content

[v14] Add default GitHub API URLs to SSO connector#31479

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

[v14] Add default GitHub API URLs to SSO connector#31479
tcsc merged 1 commit intobranch/v14from
bot/backport-31397-branch/v14

Conversation

@tcsc
Copy link
Copy Markdown
Contributor

@tcsc tcsc commented Sep 6, 2023

Backport #31397 to branch/v14

`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/v14 with commit bb74561 Sep 8, 2023
@tcsc tcsc deleted the bot/backport-31397-branch/v14 branch September 8, 2023 07:32
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