auth0 / auth0-PHP

PHP SDK for Auth0 Authentication and Management APIs.
https://auth0.com/docs/libraries/auth0-php
MIT License
382 stars 212 forks source link

Error in composer install #21

Closed joskfg closed 9 years ago

joskfg commented 9 years ago

Hello,

When I'm trying to install the package I receive this error:

Problem 1

This seems related with https://github.com/firebase/firebase-token-generator-php/issues/15

I'm following the instructions from the quickstart.

glena commented 9 years ago

Hi @joskfg, which quickstart are you following (regular webapp or api backend)?

Can you copy your composer.json file here to check your dependencies?

Also, try adding "firebase/php-jwt" : "~2.2" as a dependency in your composer.json, since it is tagged to dev-master on the package composer.json it is not actumatically downloaded due to min stability settings on your project (It will be fixed on the next release).

joskfg commented 9 years ago

I was following the regular webapp and it indicates do 3 requires

{
    "name": "test/oauth",
    "authors": [
        {
            "name": "joskfg",
            "email": "test@test.com"
        }
    ],
    "repositories": [
    {
        "type": "git",
            "url": "https://github.com/joskfg/auth0-PHP.git"
    }
    ],
    "minimum-stability": "stable",
    "require": {
        "auth0/auth0-php": "dev-master",
        "adoy/oauth2": "dev-master",
        "vlucas/phpdotenv": "dev-master",
    }
}

I solved it adding

"firebase/php-jwt": "dev-master"

to the requires, but it didn't work indicating a version.

glena commented 9 years ago

great, It should be solved on the next release (WIP). Thanks for reporting.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.