Update CLI auth docs to use client credentials#2194
Open
Soner (shyim) wants to merge 1 commit intomainfrom
Open
Update CLI auth docs to use client credentials#2194Soner (shyim) wants to merge 1 commit intomainfrom
Soner (shyim) wants to merge 1 commit intomainfrom
Conversation
c0bba52 to
07d0326
Compare
07d0326 to
ae95751
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Shopware CLI documentation for Shopware Account authentication to reflect the move from legacy email/password env vars to OAuth-style client credentials for CI/CD usage, and adds guidance for selecting an active company when an account belongs to multiple companies.
Changes:
- Replace CI/CD authentication guidance from
SHOPWARE_CLI_ACCOUNT_EMAIL/SHOPWARE_CLI_ACCOUNT_PASSWORDtoSHOPWARE_CLI_ACCOUNT_CLIENT_ID/SHOPWARE_CLI_ACCOUNT_CLIENT_SECRET. - Add instructions to generate client credentials in the Shopware Account UI.
- Add a “Multiple companies” section with commands to list and select the active company.
Comments suppressed due to low confidence (1)
products/cli/shopware-account-commands/authentication.md:21
- This section describes using a client secret in CI/CD but removed the earlier guidance about using a dedicated account/limited access. Consider adding an explicit note to use dedicated client credentials (least privilege) and to store/rotate the client secret securely (CI secret store) to reduce the blast radius if leaked.
For CI/CD pipelines, you should pass `SHOPWARE_CLI_ACCOUNT_CLIENT_ID` and `SHOPWARE_CLI_ACCOUNT_CLIENT_SECRET` as environment variables and call directly the command you want to use. The client ID and client secret can be generated in the **Extension Partner** section under the [Development](https://account.shopware.com/producer/development) navigation point in the [Shopware Account](https://account.shopware.com).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
ae95751 to
5e5838e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Caution
Merge this on 1 April 2026, as than the feature will be available in the Shopware Account
Summary
SHOPWARE_CLI_ACCOUNT_EMAIL/SHOPWARE_CLI_ACCOUNT_PASSWORDenv vars with the newSHOPWARE_CLI_ACCOUNT_CLIENT_ID/SHOPWARE_CLI_ACCOUNT_CLIENT_SECRETfor CI/CD authenticationRelated: shopware/shopware-cli#918
Test plan