1 Answer
- Newest
- Most votes
- Most comments
1
Hi,
I think it might be easier for you to host the basic web app on S3 and implement authorization at the edge using the approach in this blog post. If you would like to use Amplify, you need to handle user authentication in your javascript code. this workshop could help you get hands-on experience with Amplify and authentication in a web app.
Relevant content
- asked 2 months ago
- Accepted Answerasked a year ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 months ago
S3/Edge is exactly what I need. Thank you!!
When logged into sample solution, it states "The page you're viewing right now is served from S3. You can upload your own SPA to the S3 bucket instead and thus instantly secure it with Cognito authentication. If your SPA uses AWS Amplify framework with cookie storage for Auth, the detection of the sign-in status in the SPA will work seamlessly, because the Lambda@Edge setup uses the same cookies. Of course your SPA needs to be made aware of the right config."
How exactly do I integrate amplify framework with cookie storage in my app/set config?