| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @stillmatic for your contribution and getting this feature moving again.
This looks great! I have attached a few comments to be addressed to fully match the approved internal API proposal so please take a look.
Additionally, we would like to add validation on the clock_skew_seconds to limit it to between 0 and 60 seconds and throw a Value Error otherwise. Could you add that here with supporting test cases? Thank you!
Sorry, something went wrong.
|
I've addressed the feedback in the code change and rebased off main Note: this dependency uses clock_skew_in_seconds https://github.com/googleapis/google-auth-library-python/blob/7039beb63b8644be748cfc2fc79a2b8b643cda9f/google/oauth2/id_token.py#L112C5-L112C26, So if that gets updated, then this should also be updated. I'm going to assume that moving forward clock_skew_seconds is preferred and that you'll handle the discrepancy there. |
Sorry, something went wrong.
There was a problem hiding this comment.
A few small questions but otherwise it looks good!
@lahirumaramba do you have anything to add that we might have missed
Thanks for your concern around the discrepancy. We are aware of the convention there but preferred to default to being more in line with our other Firebase SDKs
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM! Thank you! Please take a look at the failing lint tests
Sorry, something went wrong.
|
cool - I removed that test and the lint is passing locally now |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM! Thank you for your contribution.
Sorry, something went wrong.
per feedback in firebase#625 (comment) adds unit and integration tests as well. unit tests and lint pass.
|
thanks for the help reviewing! I've rebased on upstream main and everything should be green. |
Sorry, something went wrong.
There was a problem hiding this comment.
LG with tiny nit, thanks!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Discussion
Testing
API Changes