Skip to content

Conversation

@theacodes
Copy link
Contributor

@theacodes theacodes commented Nov 16, 2016

  • Fix call to transport.Request.
  • Make jwt support base64 strings lacking padding characters.

Copy link
Contributor

@dhermes dhermes left a comment

Choose a reason for hiding this comment

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

You say "Fix", where was the break exposed?

bytes: The decoded value
"""
b64string = to_bytes(value)
padded = b64string + b'=' * (4 - len(b64string) % 4)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@theacodes
Copy link
Contributor Author

@dhermes when replacing some hand-rolled code that verified firebase auth tokens for an app engine sample.

@theacodes theacodes merged commit 97eb870 into master Nov 17, 2016
@theacodes theacodes deleted the fix-verification branch November 17, 2016 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants