I have the same issue, I have added key id (kid), private key, service ID to the Firebase Console.
I've connected the key id to the service id and enabled login service with all domains and subdomains with the correct redirect-url.
Topic:
App & System Services
SubTopic:
General
Tags: