Learn Courses My Dashboard

Silent push notification using phone Auth

I get Invalid token error when I try to authenticate using my phone number. I am testing this on Testflight and I set the APNTokenType to .unknown.
I have enabled Push Notification and my aps environment is set to prod.
I have also uploaded the p8 file and followed all steps from the SwiftUI chat episode on authentication.
Any idea what am I missing?