Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.20.0
Choose a base ref
...
head repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.20.1
Choose a head ref
  • 3 commits
  • 5 files changed
  • 3 contributors

Commits on Jul 30, 2020

  1. fix: set Content-Type header in the request to signBlob API to avoid …

    …Invalid JSON payload error (#439)
    
    `auth.create_custom_token()` results in an error:
    
    ```
    Failed to sign custom token. Error calling the IAM signBytes API:{ (...)
      "error": {
        "code": 400,
        "message": "Invalid JSON payload received. Unknown name \"{\"bytesToSign\": \"...\"}\": Cannot bind query parameter. Field '{\"bytesToSign\": \"...\"}' could not be found in request message.",
        "status": "INVALID_ARGUMENT",
        "details": [
          {
            "@type": "type.googleapis.com/google.rpc.BadRequest",
            "fieldViolations": [
              {
                "description": "Invalid JSON payload received. Unknown name \"{\"bytesToSign\": \"...\"}\": Cannot bind query parameter. Field '{\"bytesToSign\": \"...\"}' could not be found in request message."
              }
            ]
          }
        ]
      }
    }
    ```
    
    I have confirmed setting `'Content-Type': 'application/json'` header resolves the problem.
    kimamula authored Jul 30, 2020
    Configuration menu
    Copy the full SHA
    20f82e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. Configuration menu
    Copy the full SHA
    42321ba View commit details
    Browse the repository at this point in the history
  2. chore: release 1.20.1 (#582)

    * chore: updated CHANGELOG.md [ci skip]
    
    * chore: updated setup.cfg [ci skip]
    
    * chore: updated setup.py
    
    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Aug 6, 2020
    Configuration menu
    Copy the full SHA
    ae27b49 View commit details
    Browse the repository at this point in the history
Loading