Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why isn't there a method to refresh expired idToken ? #828

Open
alicanyuksel opened this issue Nov 7, 2024 · 1 comment
Open

Why isn't there a method to refresh expired idToken ? #828

alicanyuksel opened this issue Nov 7, 2024 · 1 comment

Comments

@alicanyuksel
Copy link

I’m developing a custom MFA-based authentication system, so I prefer not to use the Firebase client SDK since Firebase only supports MFA via SMS, not email.

I’m building my own system, but I’m surprised there’s no built-in method to refresh an expired access token with a refresh token. I understand this is typically handled by the Client SDK, but I don’t see why it couldn’t be included in Firebase Admin.

I know there are third-party solutions, like Pyrebase, but these still rely on external libraries, and it’s essentially just a Google API request. It’s a relatively simple feature… Let me know if this is feasible, or if necessary, I could develop this feature and submit a PR.

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants