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:
Go to www.acme.com/mypage.html?name=bob
Lambda@edge calls cognito-at-edge
Either user has to enter Cognito credentials or the user already had a valid id/access token
User is direct to www.acme.com/mypage.html?name=bob
Problem:
Go to www.acme.com/mypage.html?name=bob
Lambda@edge calls cognito-at-edge
User has an expired ACCESS token but a valid REFRESH token
Cognito-at-edge gets new access token
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.
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:
Problem:
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.