I'm writing an (embedded + mobile) app that uses firestore through REST & GRPC APIs. Each access authenticates using firebase bearer tokens which is identifies a firebase userid.
I'd like to use that same token/firebase uid to pull notifications from pubsub, and limit that firebase uid to a particular topic, but pubsub uses gcp's IAM, not firestore authentication . How can I reference the firebase users on pubsub/iam ?
Thanks!