Vue js + Flask + AWS Cognito authentication

Viewed 13

I am learning Vue JS, and understood Vue JS <-> AWS Cognito Auth mechanism and then Vue JS <-> Flask integration. Now I would like to understand how can I authenticate a user using AWS Cognito using Vue JS as frontend and once authenticated, how can I securely call Flask Backend api's? How does Flask verify authentication data (like JWT Token provided by AWS Cognito to Vue) provided by Vue JS to respond to API calls?

Simple high level System Design of Vue JS Frontend, Flask Backend and AWS Cognito

0 Answers
Related