Support › General › Composer with API Key
The current example for using composer with the api key to grab the premium add-ons places the api key in the json file as part of the metabox repo url.
Is there support for using a custom request header in which to place the api key or http basic auth?
Hi, currently we don't have support for putting API key in the header yet or using it with basic auth. Can you share how you do it with Composer?
You could use this Composer plugin to manage private packages: private-composer-installer see it here. In your composer.json add
under the "repositories" key.
Require the plugin
Then in your .env file add your license, e.g: MB_KEY='xxxxx'