Skip to content

Issue authenticating Access Token #111

Closed
@TheFetchZen

Description

@TheFetchZen

Hello,

I started getting this error today:

ErrorException: openssl_verify(): supplied key param cannot be coerced into a public key in /var/www/html/vendor/firebase/php-jwt/src/JWT.php:301
It seems that the Google/Auth library might be causing the issue.

See the below stacktrace
#1 /var/www/html/vendor/firebase/php-jwt/src/JWT.php(301): openssl_verify('JSUzI...', '\xAF2\xEF\xB0\xF6[\xE1\xBD\xE3\xCE\xA5\f\xC0\xE8\x05...', '-----BEGIN RSA ...', 'SHA256') #2 /var/www/html/vendor/firebase/php-jwt/src/JWT.php(144): Firebase\JWT\JWT::verify('JSUzI...', '\xAF2\xEF\xB0\xF6[\xE1\xBD\xE3\xCE\xA5\f\xC0\xE8\x05...', '-----BEGIN RSA ...', 'RS256') #3 [internal function]: Firebase\JWT\JWT::decode('eyJhbGciOiJSUzI...', Array) #4 /var/www/html/vendor/google/auth/src/AccessToken.php(474): call_user_func_array(Array, Array) #5 /var/www/html/vendor/google/auth/src/AccessToken.php(249): Google\Auth\AccessToken->callJwtStatic('decode', Array)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions