Solution from @Kalind worked for me. If you don`t have firebase project attached, try make one and attach to your project. It would make API key and service account for itself, and consent screen would pass.