So I've set up authentication which works fine using javascript on the client.
For security I believe I should be verifying the user by getting an id token from him using user.getIdToken()
Then when I send data to the php backend I should verify this token. If I paste it into
https://jwt.io/ and it decodes fine.
Please please please could you provide a simple example (or even a little helper php) for veryifing and decoding this token in php.
I've spent 24 hours download different php libraries and cannot get this to work.
I've also spent the previous 2 days working out how to interact with firestore with php. Yes I've had some success but it's really trying to design my own library from scratch which is not what I thought firebase was about.
Don't know why you're so against php, its really popular still did you know?
Rant over.