-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use refetch token, if available #51
Conversation
The typing of `CloudFrontHeaders` hides the fact that there may not be a `cookie` header in the request. Previously, that would result in a `TypeError: Cannot read properties of undefined (reading 'flatMap')`. This commit updates `_getIdTokenFromCookie` to handle the situation gracefully and log the event. Co-authored-by: Jean de Kernier <[email protected]>
* Support SameSite directive similar to feat: httpOnly param awslabs#41 * Add type for SameSite * Set SameSite using existing pattern * Unit test for addition and for incorrect value validation
This would actually be useful, since access tokens are short-lived |
…-token-1 # Conflicts: # __tests__/index.test.ts # src/index.ts
Hi maverick089, I just wanted to give you a quick shoutout and say thanks for your PR! I also want to apologize for the delay in reviewing your pull request. We've had a lot going on lately and unfortunately, we haven't been able to keep up with our usual review timeline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue # (if available):
Refresh Token Support #32
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.