Aman-US-Punjabi / FireBase-Auth-AmanGarry

To use FireBase Auth in Vapor by verifing Firebase ID Token
3 stars 0 forks source link

Invalid Token #2

Open davidseek opened 6 years ago

davidseek commented 6 years ago

Getting:

[Firebase Auth Provider Error: Invalid token for JWT Make sure the ID token comes from the same Firebase project as the service account used to authenticate this SDK. See https://firebase.google.com/docs/auth/admin/verify-id-tokens for details on how to retrieve an ID token.] [Identifier: FirebaseAuthAmanGarry.FirebaseAuthProviderError.invalidToken]

I have checked a hundred times now, but the FirebaseID seems correct. What does: service account used to authenticate this SDK mean?

davidseek commented 6 years ago

I think an example project would be very useful...