1
0
Fork 0

Update 05-repositories.md

another thing forgot learned here #6056 and here https://github.com/composer/composer/issues/5166#issuecomment-226110812
pull/6095/head
Matteo 2017-01-10 15:19:54 +01:00 committed by GitHub
parent 60cf410acf
commit 9e605c85e2
1 changed files with 2 additions and 1 deletions

View File

@ -295,7 +295,8 @@ attempt to use github's zip files.
Please note: Please note:
* **To let Composer choose which driver to use** the repository type needs to be defined as "vcs" * **To let Composer choose which driver to use** the repository type needs to be defined as "vcs"
* **BitBucket driver** require the OAuth method to access to BitBucket REST APIs. * **BitBucket driver** require the OAuth method to access to BitBucket REST APIs.
If you want to know how to create a OAuth consumer using BitBucket, please refer to [this link](https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html). If you want to know how to create a OAuth consumer using BitBucket, please refer to [this link](https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html).
**Remember** to fill the callback url (even with a casual address) to makes OAuth 2 work.
After created an OAuth consumer, you need to setup your composer.json config section with After created an OAuth consumer, you need to setup your composer.json config section with
the requested credentials like this (more info [here](https://getcomposer.org/doc/06-config.md#bitbucket-oauth)): the requested credentials like this (more info [here](https://getcomposer.org/doc/06-config.md#bitbucket-oauth)):
```json ```json