Open tonwayer opened 2 years ago
Hi @tonwayer , I don't have documentation as this was a long time ago. However, based on my memory and comments in that issue, the solution was to:
yarn add aws-amplify
node_modules/amplify
folder would have an index.js
file which contains the entire amplify code.index.js
file into your vanilla javascript project. Import it using the standard local <script>
javascript importing tagAmplify.init()
and Auth.signIn()
Hi, @ajhool
I hope this issue finds you. I am trying to implement AWS cognito with Vanilla JavaScript (federatedSignIn with google). Fortunately I found out your issue Is Amplify compatible with a vanilla javascript + HTML client-side static website?. But I can't find the solution from it. Would you provide sample code or documentation?