Skip to content

fix(fac): Use v1beta endpoint for verifyAppCheckToken - #987

Open
lahirumaramba wants to merge 2 commits into
mainfrom
gemini-fix-appcheck-verify-url
Open

lahirumaramba wants to merge 2 commits into
mainfrom
gemini-fix-appcheck-verify-url

Conversation

@lahirumaramba

Copy link
Copy Markdown
Member

Regression from #976

Updated _AppCheckService._VERIFY_URL_FORMAT in firebase_admin/app_check.py to use the v1beta endpoint (https://firebaseappcheck.googleapis.com/v1beta/projects/{project_id}:verifyAppCheckToken) when verifying token replay protection (consume=True), as verifyAppCheckToken is publicly exposed under v1beta.

Updated _AppCheckService._VERIFY_URL_FORMAT to point to the v1beta endpoint (https://firebaseappcheck.googleapis.com/v1beta/projects/{project_id}:verifyAppCheckToken) for replay protection verification.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the App Check verification URL format from 'v1' to 'v1beta' in firebase_admin/app_check.py and updates the corresponding unit tests in tests/test_app_check.py to reflect this change. There are no review comments, and the changes appear to be correct and complete.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants