tuupola / slim-jwt-auth

PSR-7 and PSR-15 JWT Authentication Middleware
https://appelsiini.net/projects/slim-jwt-auth
MIT License
827 stars 141 forks source link

Does it work with AWS Cognito? #157

Closed ganesh35 closed 5 years ago

ganesh35 commented 5 years ago

I am trying to use it with AWS Cognito it always throws this error:

{
    "title": "OpenSSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line",
    "type": "about:blank",
    "status": 401
}

Is there any way I can use it?

tuupola commented 5 years ago

I have no idea how AWS Cognito works, never used it myself. Google search suggests the error has something to do with .pem files.