Skip to content

Remove deprecated fields from CLI usage - #23

Open
alec-w wants to merge 2 commits into
mainfrom
aw/remove-deprecated-fields-from-cli-usage
Open

Remove deprecated fields from CLI usage#23
alec-w wants to merge 2 commits into
mainfrom
aw/remove-deprecated-fields-from-cli-usage

Conversation

@alec-w

@alec-w alec-w commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

--connect-datasource, --authorization-domain and --authorization-client-id are all deprecated, swapping to replacement flags.

@alec-w
alec-w requested a review from sd109 August 13, 2026 21:39
@alec-w alec-w self-assigned this Aug 13, 2026
@alec-w alec-w added this to the now milestone Aug 13, 2026
Comment thread workloads/federated-cofidectl-tf.sh Outdated
--oauth-issuer-url https://$AUTHORIZATION_DOMAIN \
--oauth-authorization-url https://$AUTHORIZATION_DOMAIN/oauth2/auth \
--oauth-token-url https://$AUTHORIZATION_DOMAIN/oauth2/token \
--oauth-client-id $AUTHORIZATION_CLIENT_ID \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Having AUTHORIZATION_DOMAIN as the config var seems likely to cause confusion with this change if we're automatically prefixing it with https://. Should we replace it with an OAUTH_ISSUER_URL variable instead?

We also can't assume the auth and token endpoints so should remove these flags and let them be found during discovery.

Suggested change
--oauth-client-id $AUTHORIZATION_CLIENT_ID \
--oauth-issuer-url $OAUTH_ISSUER_URL \
--oauth-client-id $AUTHORIZATION_CLIENT_ID \

Same suggestion is relevant to all other diff hunks in this PR.

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.

Good point, I'd forgotten that Connect now exposed a URL to perform discovery through. Have changed to drop these fields so we only bother keeping the client ID (and renamed the var).

@alec-w
alec-w requested a review from sd109 August 14, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants