I am testing my Go application after some rewrite to support changes made for GO112 environment on Google App Engine.--VerifyIDToken and VerifyIDTokenAndCheckRevoked no longer work and consistently return "message":"rpc error: code = PermissionDenied desc = Missing or insufficient permissions.". I suspect that Firebase can't discover the firebase service account anymore in the new environment. Anyone got it working?Slightly off topic: I really don't want to switch to key file and implement my own secret management, might as well drop App Engine while I am at it, so I would not need to rewrite my application again in the future.
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/1ced1d6f-2d4d-4d0e-9e14-d412504adda6%40googlegroups.com.
This probably means the service account used by the App Engine instance lacks a required permission. If the service account was not discovered, I'd expect the SDK initialization to fail entirely. Go through the roles of the App Engine default service account and grant it the Firebase Admin role.
On Mon, Oct 14, 2019 at 1:32 PM Tomas Grubliauskas <v3nom...@gmail.com> wrote:
I am testing my Go application after some rewrite to support changes made for GO112 environment on Google App Engine.--VerifyIDToken and VerifyIDTokenAndCheckRevoked no longer work and consistently return "message":"rpc error: code = PermissionDenied desc = Missing or insufficient permissions.". I suspect that Firebase can't discover the firebase service account anymore in the new environment. Anyone got it working?Slightly off topic: I really don't want to switch to key file and implement my own secret management, might as well drop App Engine while I am at it, so I would not need to rewrite my application again in the future.
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/1ced1d6f-2d4d-4d0e-9e14-d412504adda6%40googlegroups.com.