Skip to content

feat: add documentation for Plugin Store Authentication#2209

Open
Renaud Hager (renaudhager) wants to merge 3 commits intomainfrom
feat/paas-native-add-composer-token
Open

feat: add documentation for Plugin Store Authentication#2209
Renaud Hager (renaudhager) wants to merge 3 commits intomainfrom
feat/paas-native-add-composer-token

Conversation

@renaudhager
Copy link
Copy Markdown
Member

This pull request adds new documentation to help users configure authentication for plugin stores in Shopware during the build process. The document explains how to set up authentication for both the official Shopware plugin store and third-party plugin repositories using environment variables and secrets.

Documentation Additions:

  • Added a new markdown file, plugins-store-authentication.md, outlining how to configure authentication for plugin stores during the build process, including steps for both the official Shopware plugin store and third-party stores.
  • Provided example commands and JSON configurations for setting up the required secrets (SHOPWARE_PACKAGES_TOKEN and COMPOSER_AUTH) to enable composer to fetch plugins securely.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new Shopware PaaS Native documentation page describing how to configure Composer authentication for fetching plugins from the official Shopware plugin store and third-party repositories during build time.

Changes:

  • Added a new “Plugin Store Authentication” fundamentals page.
  • Documented use of SHOPWARE_PACKAGES_TOKEN and COMPOSER_AUTH secrets with example JSON payloads.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +23 to +26
## Third party plugin store
To authenticate against third party plugin store or plugin repository you need to create a secret named `COMPOSER_AUTH`.
The content need to be the json string required for the store/repository, run the following command:
```
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

This section has additional grammar/wording issues (e.g., missing hyphen in “Third party”, “content need”, “json” → “JSON”, and a run-on sentence before “run the following command”). Please adjust wording for clarity and consistent capitalization.

Copilot uses AI. Check for mistakes.
Comment on lines +26 to +28
```
sw-paas vault create --type buildenv --key COMPOSER_AUTH
```
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

This shell command block should also specify a language (e.g., ```sh) for consistency and syntax highlighting.

Copilot uses AI. Check for mistakes.
Comment on lines +9 to +11
The build process might needs to authentication against plugins stores (Shopware official and any other one), this document explain how configure this authentication.

We rely on `composer` to fecth plugin during build time configured with two environment variables: `SHOPWARE_PACKAGES_TOKEN` and `COMPOSER_AUTH`.
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

There are several spelling/grammar issues in the intro that make it hard to understand (e.g., “might needs to authentication”, “plugins stores”, “document explain”, “fecth plugin”). Please rewrite these sentences for correct English (e.g., “might need to authenticate…”, “plugin stores…”, “this document explains…”, “fetch plugins…”).

Copilot uses AI. Check for mistakes.
Comment on lines +18 to +20
```
sw-paas vault create --type buildenv --key SHOPWARE_PACKAGES_TOKEN
```
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

Shell command code blocks should declare a language (e.g., ```sh) for consistency with the rest of the Shopware PaaS docs and for proper syntax highlighting.

Copilot uses AI. Check for mistakes.
…on.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…on.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Isengo1989
Copy link
Copy Markdown
Contributor

Renaud Hager (@renaudhager) can you please check the CoPilot hints and the failing tests, merci

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