Closed jasverix closed 1 year ago
Attempted to run this branch locally and it did not work at all, the $key is null
and it fails. Need to work through this more.
JwtAccessToken tries to decode the access token without any key to fetch the client_id and that does not work in new FirebaseJwt, it needs the key. I made my own variant in our project that fetches access token from PDO storage to get the client_id and then decodes it. Unsure if it is something that I can commit, as it is a little hacky, and then the JwtAccessToken requires the PDO storage in constructor.
The version we are using in our tests is v6.4, so I think there is nothing to be done here.
Update the recommended version and fix the code. The new versions of Firebase/JWT has namespaced classes.