forked from luciferous/jwt
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
I am working on a PHP Slim 4 API, which should use the token coming from Firebase authentication to access the api. However I keep getting this error in my logs no matter what:
OpenSSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line [" TOKEN_FROM_FIREBASE "]
and this is the response to my GET:
{
"statusCode": 500,
"error": {
"type": "SERVER_ERROR",
"description": "ERROR: openssl_verify(): supplied key param cannot be coerced into a public key on line 243 in file E:\\xampp\\htdocs\\playground\\my-api\\vendor\\firebase\\php-jwt\\src\\JWT.php."
}
}
Any ideas?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels