Fork me on GitHub
#reagent
<
2019-09-23
>
dominicm10:09:20

What's the problem you're having exactly?

Sven13:09:30

The main goal was to be able to spin up auth quickly without having to spend time on coding (logic, UI) for all the use cases, handling errors etc. The nice thing about amplify is that if one has a solid CloudFormation template for setting up the user and identity pools then it makes for a really quick setup to get basic auth going for any new project when using the withAuthenticator HOC for React. There is a really nice example of setting up appsync with datomic https://github.com/hlprmnky/ion-appsync-example and there is even a TODO with a bullet point Wire up the provided SPA with the Amplify library 🙂 For now, I’ve started the implementation with amazon-cognito-identity-js. Would have preferred to do that later though.