Skip to content

Conversation

@hiranya911
Copy link
Contributor

The google-auth library does not cache public certs. This causes all invocations of verify_id_token() and verify_session_cookie() to make an HTTP call. This PR implements certificate caching using the cachecontrol library.

Copy link
Contributor

@avishalom avishalom left a comment

Choose a reason for hiding this comment

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

LGTM

@hiranya911 hiranya911 assigned hiranya911 and unassigned avishalom Apr 5, 2018
@hiranya911 hiranya911 merged commit dbd8da5 into master Apr 5, 2018
@hiranya911 hiranya911 deleted the hkj-cache-control branch April 5, 2018 18:58
hiranya911 added a commit that referenced this pull request Apr 5, 2018
hiranya911 added a commit that referenced this pull request Apr 11, 2018
* Moved token generation/validation code to new helper module * Basic session cookie support (without tests) * Separated token generation and verification into two classes * Added unit tests for session management * Fixing a lint error * Added integration tests * Handling article in error messages * Fixed a lint error * Updated changelog * Added snippets for auth session management * Updated snippets * Added some comments * Merged with master; Updated CHANGELOG for #150 * Minor improvements to samples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants