AntonShuvaev / intellij-firebase-firestore

Firebase Firestore Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/23609-firebase-firestore
3 stars 0 forks source link

Support Application Default Credentials #6

Closed luke-certifyos closed 1 month ago

luke-certifyos commented 3 months ago

I'd like to be able to use my application_default_credentals.json instead of a service account. (I don't have iam.serviceAccounts.list permissions)

Right now I'd get the error:

Connection test failed: java.lang.ClassCastException: class com.google.auth.oauth2.UserCredentials cannot be cast to class com.google.auth.oauth2.ServiceAccountCredentials (com.google.auth.oauth2 .UserCredentials and com.google.auth.oauth2.ServiceAccountCredentials are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @5def47aa)