Skip to content
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

Maintaining Query String #75

Open
davidcanderson4 opened this issue Aug 25, 2023 · 1 comment
Open

Maintaining Query String #75

davidcanderson4 opened this issue Aug 25, 2023 · 1 comment
Assignees

Comments

@davidcanderson4
Copy link

I have configured cognito-at-edge to work with my Cognito user pool and Lamba@edge authorizer. I am having trouble with a query string being lost when the refresh token is used to generate a new id/access token.

Works:

  1. Go to www.acme.com/mypage.html?name=bob
  2. Lambda@edge calls cognito-at-edge
  3. Either user has to enter Cognito credentials or the user already had a valid id/access token
  4. User is direct to www.acme.com/mypage.html?name=bob

Problem:

  1. Go to www.acme.com/mypage.html?name=bob
  2. Lambda@edge calls cognito-at-edge
  3. User has an expired ACCESS token but a valid REFRESH token
  4. Cognito-at-edge gets new access token
  5. User is directed to www.acme.com/mypage.html (the query string "?name=bob" is not present)

Wondering if the issue of the dropped query string is an issue with my code, cognito-at-edge, cognito, or otherwise.

Thank you for your assistance in advance.

@jeandek jeandek self-assigned this Dec 12, 2023
@SummerShoohaw
Copy link

I'm facing exactly the same issue, any update?

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

No branches or pull requests

3 participants