René's URL Explorer Experiment


Title: Cannot locate jwt package in app_check.py after updating to firebase-admin-python V6.0.0 · Issue #653 · firebase/firebase-admin-python · GitHub

Open Graph Title: Cannot locate jwt package in app_check.py after updating to firebase-admin-python V6.0.0 · Issue #653 · firebase/firebase-admin-python

X Title: Cannot locate jwt package in app_check.py after updating to firebase-admin-python V6.0.0 · Issue #653 · firebase/firebase-admin-python

Description: [REQUIRED] Step 2: Describe your environment Operating System version: MacOS 10.15.7 Firebase SDK version: V6.0.0 Firebase Product: app_check Python version: 3.7.9 Pip version: 22.1.2 [REQUIRED] Step 3: Describe the problem Updated to V6...

Open Graph Description: [REQUIRED] Step 2: Describe your environment Operating System version: MacOS 10.15.7 Firebase SDK version: V6.0.0 Firebase Product: app_check Python version: 3.7.9 Pip version: 22.1.2 [REQUIRED] St...

X Description: [REQUIRED] Step 2: Describe your environment Operating System version: MacOS 10.15.7 Firebase SDK version: V6.0.0 Firebase Product: app_check Python version: 3.7.9 Pip version: 22.1.2 [REQUIRED] St...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot locate jwt package in app_check.py after updating to firebase-admin-python V6.0.0","articleBody":"### [REQUIRED] Step 2: Describe your environment\r\n\r\n  * Operating System version: MacOS 10.15.7 \r\n  * Firebase SDK version: `V6.0.0`\r\n  * Firebase Product: `app_check`\r\n  * Python version: 3.7.9\r\n  * Pip version: 22.1.2\r\n\r\n### [REQUIRED] Step 3: Describe the problem\r\nUpdated to V6.0.0 and attempted to run my development server within Flask and encountered the following errors:\r\n\r\n```\r\nError: While importing 'api', an ImportError was raised:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/flask/cli.py\", line 218, in locate_app\r\n    __import__(module_name)\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/api/api.py\", line 2, in \u003cmodule\u003e\r\n    from auth import validate_auth, validate_app\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/api/auth.py\", line 2, in \u003cmodule\u003e\r\n    from service.firebase import verify_auth_token, verify_app_token\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/api/service/firebase.py\", line 2, in \u003cmodule\u003e\r\n    from firebase_admin import credentials, auth, firestore, app_check\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/firebase_admin/app_check.py\", line 18, in \u003cmodule\u003e\r\n    import jwt\r\nModuleNotFoundError: No module named 'jwt'\r\n```\r\n\r\nAfter attempting to install the jwt package to fix the issue, a new error occurred:\r\n\r\n```\r\nError: While importing 'api', an ImportError was raised:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/flask/cli.py\", line 218, in locate_app\r\n    __import__(module_name)\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/api/api.py\", line 2, in \u003cmodule\u003e\r\n    from auth import validate_auth, validate_app\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/api/auth.py\", line 2, in \u003cmodule\u003e\r\n    from service.firebase import verify_auth_token, verify_app_token\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/api/service/firebase.py\", line 2, in \u003cmodule\u003e\r\n    from firebase_admin import credentials, auth, firestore, app_check\r\n  File \"/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/firebase_admin/app_check.py\", line 19, in \u003cmodule\u003e\r\n    from jwt import PyJWKClient, ExpiredSignatureError, InvalidTokenError\r\nImportError: cannot import name 'PyJWKClient' from 'jwt' (/Users/kdfriedman/Desktop/curate-ai-python-api/env/lib/python3.7/site-packages/jwt/__init__.py)\r\n```\r\n#### Steps to reproduce:\r\n\r\nI updated to V6 of the SDK and immediately encountered this issue. When I attempted to install the jwt package, a different error occurred.\r\n\r\n#### Relevant Code:\r\n\r\n```\r\nimport firebase_admin\r\nfrom firebase_admin import credentials, auth, firestore, app_check\r\nimport os\r\n\r\n# Initialize the default app\r\nENV_KEYS = {\r\n    \"CREDS_GO_HERE\"\r\n}\r\n\r\nCREDENTIALS = credentials.Certificate(ENV_KEYS)\r\nfirebase_app = firebase_admin.initialize_app(CREDENTIALS)\r\n\r\nverify_app_token = app_check.verify_token\r\n```\r\n","author":{"url":"https://github.com/kdfriedman","@type":"Person","name":"kdfriedman"},"datePublished":"2022-10-13T20:00:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/653/firebase-admin-python/issues/653"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:de54766d-36a2-a825-e180-7a79098ecce7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD9E8:219F18:1A071:2270F:698F355C
html-safe-nonce7514a2968df290e374165990ef0723e2d6deda7cb40b61a2eae4a9f56d43a969
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUU4OjIxOUYxODoxQTA3MToyMjcwRjo2OThGMzU1QyIsInZpc2l0b3JfaWQiOiI0ODg3NDE2MjE2MTU3NjMxODM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3d72aa5e418482ecdc454744d5067360c3f187e7cd5560238df22eb1d31e3d57
hovercard-subject-tagissue:1408354558
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/653/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0b19addc23b383440451a23ee524024fcb34f8937859681e82197b7a3c34e536/firebase/firebase-admin-python/issues/653
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0b19addc23b383440451a23ee524024fcb34f8937859681e82197b7a3c34e536/firebase/firebase-admin-python/issues/653
og:image:alt[REQUIRED] Step 2: Describe your environment Operating System version: MacOS 10.15.7 Firebase SDK version: V6.0.0 Firebase Product: app_check Python version: 3.7.9 Pip version: 22.1.2 [REQUIRED] St...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekdfriedman
hostnamegithub.com
expected-hostnamegithub.com
None6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1
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
releasee2fe82f90e107669021e243add8f74ea2a9be1b3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/firebase/firebase-admin-python/issues/653#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffirebase%2Ffirebase-admin-python%2Fissues%2F653
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffirebase%2Ffirebase-admin-python%2Fissues%2F653
Sign up https://github.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://github.com/firebase/firebase-admin-python/issues/653
Reloadhttps://github.com/firebase/firebase-admin-python/issues/653
Reloadhttps://github.com/firebase/firebase-admin-python/issues/653
firebase https://github.com/firebase
firebase-admin-pythonhttps://github.com/firebase/firebase-admin-python
Notifications https://github.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Fork 347 https://github.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Star 1.1k https://github.com/login?return_to=%2Ffirebase%2Ffirebase-admin-python
Code https://github.com/firebase/firebase-admin-python
Issues 79 https://github.com/firebase/firebase-admin-python/issues
Pull requests 38 https://github.com/firebase/firebase-admin-python/pulls
Actions https://github.com/firebase/firebase-admin-python/actions
Projects 0 https://github.com/firebase/firebase-admin-python/projects
Security 0 https://github.com/firebase/firebase-admin-python/security
Insights https://github.com/firebase/firebase-admin-python/pulse
Code https://github.com/firebase/firebase-admin-python
Issues https://github.com/firebase/firebase-admin-python/issues
Pull requests https://github.com/firebase/firebase-admin-python/pulls
Actions https://github.com/firebase/firebase-admin-python/actions
Projects https://github.com/firebase/firebase-admin-python/projects
Security https://github.com/firebase/firebase-admin-python/security
Insights https://github.com/firebase/firebase-admin-python/pulse
New issuehttps://github.com/login?return_to=https://github.com/firebase/firebase-admin-python/issues/653
New issuehttps://github.com/login?return_to=https://github.com/firebase/firebase-admin-python/issues/653
#655https://github.com/firebase/firebase-admin-python/pull/655
#654https://github.com/firebase/firebase-admin-python/pull/654
Cannot locate jwt package in app_check.py after updating to firebase-admin-python V6.0.0https://github.com/firebase/firebase-admin-python/issues/653#top
#655https://github.com/firebase/firebase-admin-python/pull/655
#654https://github.com/firebase/firebase-admin-python/pull/654
https://github.com/lahirumaramba
api: appcheckhttps://github.com/firebase/firebase-admin-python/issues?q=state%3Aopen%20label%3A%22api%3A%20appcheck%22
https://github.com/kdfriedman
https://github.com/kdfriedman
kdfriedmanhttps://github.com/kdfriedman
on Oct 13, 2022https://github.com/firebase/firebase-admin-python/issues/653#issue-1408354558
lahirumarambahttps://github.com/lahirumaramba
api: appcheckhttps://github.com/firebase/firebase-admin-python/issues?q=state%3Aopen%20label%3A%22api%3A%20appcheck%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.