firebase / firebase-admin-go

Firebase Admin Go SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Can I refresh ID Token?

renanbastos93 opened this issue · comments

I've been using lib for verify IDToken in my api, but I'd like to refresh token sometimes. How can I do that?

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

You need to create ID tokens on the client side. See https://firebase.google.com/docs/auth/admin/verify-id-tokens
In the future, please use Stack Overflow for usage questions.

@lahirumaramba My client created an ID token I want to renew in my backend, but I saw this library and doesn't have logic to refresh the token like JS, maybe we can implement that. What do you think?