Skip to content

Service Account Authentication doesn't work with PHP 5.2.9 #268

Closed

Description

@sunone5

Fatal error: Uncaught exception 'Google_Auth_Exception' with message 'PHP 5.3.0 or higher is required to use service accounts.' in /home/senti/public_html/Google-api-php-

clientv1.0.0/src/Google/Signer/P12.php:81 Stack trace: #0 /home/senti/public_html/Google-api-php-clientv1.0.0/src/Google/Auth/AssertionCredentials.php(133): Google_Signer_P12->sign

('eyJ0eXAiOiJKV1Q...') #1 /home/senti/public_html/Google-api-php-clientv1.0.0/src/Google/Auth/AssertionCredentials.php(109): Google_Auth_AssertionCredentials->makeSignedJwt(Array) #2

/home/senti/public_html/Google-api-php-clientv1.0.0/src/Google/Auth/OAuth2.php(292): Google_Auth_AssertionCredentials->generateAssertion() #3 /home/senti/public_html/Google-api-php-

clientv1.0.0/examples/service-account.php(98): Google_Auth_OAuth2->refreshTokenWithAssertion(Object(Google_Auth_AssertionCredentials)) #4 {main} thrown in /home/senti/public_html/Google-api-php-

clientv1.0.0/src/Google/Signer/P12.php on line 81

Activity

  1. ianbarber commented on Jul 28, 2014

    @ianbarber
    Contributor

    Sorry, that feature is 5.3 and above only because of the crypto libs involved. I'll add a note to the documentation.

  2. ianbarber commented on Sep 12, 2014

    @ianbarber
    Contributor

    Added note to readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions