How to verify ID Token without requiring credentials?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- csharp, firebase
- Domain
- authentication
Research direction
Start with the Firebase Admin .NET authentication documentation and the VerifyIdTokenAsync and FirebaseAuth.DefaultInstance entry points shown in the issue. Trace which verification paths require service credentials and how the non-revocation case is represented. Done means establishing a supported credential-free approach or documenting the limitation clearly.
Written by the indexing model from the issue text.
Description
As per the docs: https://firebase.google.com/docs/auth/admin/verify-id-tokens#c
FirebaseToken decodedToken = await FirebaseAuth.DefaultInstance
.VerifyIdTokenAsync(idToken);
string uid = decodedToken.Uid;
However this requires initializing the DefaultInstance with service credentials. Verifying the token should be possible without private credentials (if we don't check revoked).
How can I do this?
- Dominant language
- C#
- Stars
- 407
- Forks
- 149
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 14
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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-dotnet
-
AbstractFirebaseAuth.cs has a typo (accound/account)May be free again A pull request for this issue was closed without being merged. Openneeds-triage
Difficulty 1/5 Under an hour Newbie friendliness 72/100
firebase/firebase-admin-dotnet#334 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
firebase/firebase-admin-dotnet#591 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
GetProjectId returns null on Compute Engine / Cloud Run with application default credentialsPossibly taken @lahirumaramba claimed this 15 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 78/100
firebase/firebase-admin-dotnet#588 ·
Maintainers usually reply within 1 day
-
Sending FCM notification with Fids Return NotRegisteredMay be free again @yvonnep165 claimed this 92 days ago, and no pull request is open. Open
firebase/firebase-admin-dotnet#534 · 5 comments · 1 reaction · 1 assignee ·
Maintainers usually reply within 1 day
-
Sending MulticastMessage does not work after replacing Tokens with FidsMay be free again @Doris-Ge claimed this 121 days ago, and no pull request is open. Openapi: messaging
firebase/firebase-admin-dotnet#530 · 2 comments · 2 assignees ·
Maintainers usually reply within 1 day
All issues in firebase/firebase-admin-dotnet
Similar issues
-
Support Flux ignore rules (drift detection ignore paths) in Microsoft.KubernetesConfiguration schemaOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Azure/azure-resource-manager-schemas#3921 ·
Maintainers usually reply within 1 day
-
text-align: justify is ignored in HTML to PDF conversionPossibly taken @PrzemyslawKlys claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 4 days
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100