Skip to content

Conversation

@ppandit-sfdc
Copy link
Collaborator

Creation of Connected apps has been disabled as of Spring ‘26, as Connected apps are being replaced by External Client Apps (source)

For External Client Apps - username-password flow is not a supported authorization flow. List of supported flows are documented here

This PR removes the older username password auth flow, and adds support for using client credentials flow once available.

- `--auth-type TEXT`: Authentication method (`oauth_tokens` or `username_password`, default: `oauth_tokens`)
- `--auth-type TEXT`: Authentication method (default: `oauth_tokens`)
- `oauth_tokens` - OAuth tokens with refresh_token
- `client_credentials` - Server-to-server using client_id/secret only
Copy link
Contributor

Choose a reason for hiding this comment

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

It's great we call out server-to-server is the intended use case for this type of auth 👌

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes!

@ppandit-sfdc ppandit-sfdc marked this pull request as ready for review January 14, 2026 18:01
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.

3 participants