It is a quick submit offering a pattern implementation of AWS Amplify authentication management in a React app with hooks. tl;dr When Auth.signIn() succeeds, it units a cookie with session knowledge that may be accessed by Auth.currentSession(). This does not appear to be nicely documented, however it unlocks the flexibility to protect authentication state on…

Read More