awslabs / cognito-at-edge

Serverless authentication solution to protect your website or Amplify application
Apache License 2.0
168 stars 54 forks source link

Missing `?code=` query parameter in redirect URL after logging in with Cognito Hosted UI #48

Closed rihib closed 1 year ago

rihib commented 1 year ago

Hi, I am implementing the login functionality using Cognito Hosted UI and Cognito@Edge, but the authorization code is not present in the URL after the redirect.

Normally, when redirecting from Cognito Hosted UI, the query parameter ?code= is added to the URL, but is this not the case with Cognito@Edge?

rihib commented 1 year ago

I see, the Tokens are put directly into the cookie. #31 is helpful for me. Thank you.