This site uses an alternative to amplify to make cognito calls for authorization - Once authenticated with this library the site allows a call to lambda via an authenticated api gateway. Use the localhost:5050 example to do the same with the amplify library. Both are delivered via CDN rather than npm.