Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Authenticated (OIDC) HTTP task example should set an audience field #137

@ehsan-karamad

Description

@ehsan-karamad

According to Cloud Tasks API, when the audience field is unset, it will take the default value of the specified URI in the
HttpRequest's target
. However, this could become a problem when the URI itself contains parts such as query parameters or fragments. Having these in the audience field will lead to 401.

Part of this issue lies with the APIs, but as far as documentation and examples go, we should make the audience field specific to avoid having such problems for customers who start using the product from Google provided examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: cloudtasksIssues related to the googleapis/python-tasks API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions