Why isn't there a method to refresh expired idToken ?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- authentication
Research direction
Start by reviewing the Firebase Admin Python authentication APIs and the Google API request or client-SDK behavior referenced in the issue. Determine the supported scope for refreshing an expired idToken with a refresh token; the work is done when that behavior is clearly specified and implemented as a supported Admin SDK feature.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 359
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/firebase-admin-python
-
api: remoteconfig
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
firebase/firebase-admin-python#957 · 1 comment ·
-
api: database type: feature request
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
firebase/firebase-admin-python#978 · 1 comment ·
-
[FR] Support VERIFY_AND_CHANGE_EMAIL in generate_email_action_link (parity with firebase-admin-node) Openapi: auth
firebase/firebase-admin-python#949 · 2 comments · 1 reaction · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 43/100
firebase/firebase-admin-python#945 · 1 comment · 1 reaction ·
All issues in firebase/firebase-admin-python
Similar issues
-
sponsored
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Diaoul/subliminal#1382 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100