Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove auth check for cloud tasks #171

Merged
merged 17 commits into from
Feb 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add check for uid in auth_token
  • Loading branch information
exaby73 committed Feb 3, 2024
commit 3ef480e10afd8543411e5ec710c3e383758cb8a4
3 changes: 1 addition & 2 deletions src/firebase_functions/https_fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ def _on_call_handler(func: _C2,
token_status.app_token),
)

if token_status.auth_token is not None:
_logging.debug(token_status.auth_token)
if token_status.auth_token is not None and "uid" in token_status.auth_token:
context = _dataclasses.replace(
context,
auth=AuthData(token_status.auth_token["uid"],
Expand Down
Loading