Firebase – Notification push – Oauth2 – 401 invalid authentication credentials – Symfony
I’m currently trying to create a micro service to push notification to devices.
I’m using Firebase messaging and now we need to use their last API. It use Oauth2, i tried with Postman to make a push and it worked flawlessly. But, when I tried to implement it in Symfony, I had problem with credentials. It seems that the token generate by google/auth doesn’t work. Especially because with Postman, that token begin by “ya29” even refreshed.