René's URL Explorer Experiment


Title: `get_user_by_email` can silently return wrong result when "allow multiple accounts with the same email address" is set · Issue #843 · firebase/firebase-admin-python · GitHub

Open Graph Title: `get_user_by_email` can silently return wrong result when "allow multiple accounts with the same email address" is set · Issue #843 · firebase/firebase-admin-python

X Title: `get_user_by_email` can silently return wrong result when "allow multiple accounts with the same email address" is set · Issue #843 · firebase/firebase-admin-python

Description: Describe your environment Operating System version: macOS 15.2 Firebase SDK version: 6.6.0 Firebase Product: auth Python version: 3.12 Pip version: uv 0.5.11 Describe the problem I'm worried that the get_user_by_email function misleading...

Open Graph Description: Describe your environment Operating System version: macOS 15.2 Firebase SDK version: 6.6.0 Firebase Product: auth Python version: 3.12 Pip version: uv 0.5.11 Describe the problem I'm worried that t...

X Description: Describe your environment Operating System version: macOS 15.2 Firebase SDK version: 6.6.0 Firebase Product: auth Python version: 3.12 Pip version: uv 0.5.11 Describe the problem I'm worried th...

Opengraph URL: https://github.com/firebase/firebase-admin-python/issues/843

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`get_user_by_email` can silently return wrong result when \"allow multiple accounts with the same email address\" is set","articleBody":"### Describe your environment\n\n  * Operating System version: macOS 15.2\n  * Firebase SDK version: `6.6.0`\n  * Firebase Product: `auth`\n  * Python version: `3.12`\n  * Pip version: `uv 0.5.11`\n\n### Describe the problem\n\nI'm worried that the `get_user_by_email` function misleadingly silently skips some results.\n\nIt's typed as returning a single user record given an email address:\n\nhttps://github.com/firebase/firebase-admin-python/blob/8ba819a4175e758576f1a7cccc131c1b66d6417a/firebase_admin/_auth_client.py#L179-L194\n\nHowever, it is possible to configure Firebase to allow multiple accounts with the same email address: https://support.google.com/firebase/answer/9134820\n\nIt looks like the implementation takes just the first user record if more than one matches the provided email:\n\nhttps://github.com/firebase/firebase-admin-python/blob/8ba819a4175e758576f1a7cccc131c1b66d6417a/firebase_admin/_user_mgt.py#L583-L602\n\nI'd suggest replacing it with a `get_users_by_email` that returns a collections of records, to avoid misleading programmers unfamiliar with the \"allow multiple accounts with the same email address\" option.","author":{"url":"https://github.com/kkom","@type":"Person","name":"kkom"},"datePublished":"2024-12-23T11:24:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/843/firebase-admin-python/issues/843"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e7007e5e-640b-390b-6963-a8083dcaf07e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD214:16DABE:562855:702BBF:6990712E
html-safe-noncea2426651b8b2fba6f544ceea7c502e103af92f7561c0f151fc33500fd20ffbbf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjE0OjE2REFCRTo1NjI4NTU6NzAyQkJGOjY5OTA3MTJFIiwidmlzaXRvcl9pZCI6IjUzNzY1ODU1MjkxNTEyMjIwNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf89d45f277cc4b70f3354bae005e0c5e66b91ec40c419beafc07e1688522fe3d
hovercard-subject-tagissue:2755839661
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/firebase/firebase-admin-python/843/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6774d91b914af691a1ff8f7582d06d1c4c58710778b6033361f50a4e6d33038e/firebase/firebase-admin-python/issues/843
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6774d91b914af691a1ff8f7582d06d1c4c58710778b6033361f50a4e6d33038e/firebase/firebase-admin-python/issues/843
og:image:altDescribe your environment Operating System version: macOS 15.2 Firebase SDK version: 6.6.0 Firebase Product: auth Python version: 3.12 Pip version: uv 0.5.11 Describe the problem I'm worried that t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekkom
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/firebase/firebase-admin-python git https://github.com/firebase/firebase-admin-python.git
octolytics-dimension-user_id1335026
octolytics-dimension-user_loginfirebase
octolytics-dimension-repository_id84979152
octolytics-dimension-repository_nwofirebase/firebase-admin-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id84979152
octolytics-dimension-repository_network_root_nwofirebase/firebase-admin-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/843#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffirebase%2Ffirebase-admin-python%2Fissues%2F843
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffirebase%2Ffirebase-admin-python%2Fissues%2F843
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=firebase%2Ffirebase-admin-python
Reloadhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/843
Reloadhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/843
Reloadhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/843
firebase https://patch-diff.githubusercontent.com/firebase
firebase-admin-pythonhttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Fork 347 https://patch-diff.githubusercontent.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Star 1.1k https://patch-diff.githubusercontent.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Code https://patch-diff.githubusercontent.com/firebase/firebase-admin-python
Issues 79 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues
Pull requests 38 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulls
Actions https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/actions
Projects 0 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/projects
Security 0 https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/security
Insights https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulse
Code https://patch-diff.githubusercontent.com/firebase/firebase-admin-python
Issues https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues
Pull requests https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulls
Actions https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/actions
Projects https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/projects
Security https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/security
Insights https://patch-diff.githubusercontent.com/firebase/firebase-admin-python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/firebase/firebase-admin-python/issues/843
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/firebase/firebase-admin-python/issues/843
get_user_by_email can silently return wrong result when "allow multiple accounts with the same email address" is sethttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/issues/843#top
https://patch-diff.githubusercontent.com/Xiaoshouzi-gh
api: authhttps://github.com/firebase/firebase-admin-python/issues?q=state%3Aopen%20label%3A%22api%3A%20auth%22
https://github.com/kkom
https://github.com/kkom
kkomhttps://github.com/kkom
on Dec 23, 2024https://github.com/firebase/firebase-admin-python/issues/843#issue-2755839661
firebase-admin-python/firebase_admin/_auth_client.pyhttps://github.com/firebase/firebase-admin-python/blob/8ba819a4175e758576f1a7cccc131c1b66d6417a/firebase_admin/_auth_client.py#L179-L194
8ba819ahttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/commit/8ba819a4175e758576f1a7cccc131c1b66d6417a
https://support.google.com/firebase/answer/9134820https://support.google.com/firebase/answer/9134820
firebase-admin-python/firebase_admin/_user_mgt.pyhttps://github.com/firebase/firebase-admin-python/blob/8ba819a4175e758576f1a7cccc131c1b66d6417a/firebase_admin/_user_mgt.py#L583-L602
8ba819ahttps://patch-diff.githubusercontent.com/firebase/firebase-admin-python/commit/8ba819a4175e758576f1a7cccc131c1b66d6417a
Xiaoshouzi-ghhttps://patch-diff.githubusercontent.com/Xiaoshouzi-gh
api: authhttps://github.com/firebase/firebase-admin-python/issues?q=state%3Aopen%20label%3A%22api%3A%20auth%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.