Skip to content

How to use AmazonCognitoIdentity from the console

Douglas Naphas edited this page Jan 6, 2020 · 3 revisions
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = './amazon-cognito-auth.min.js';
document.head.appendChild(script);

// same in one line
var script = document.createElement('script'); script.type = 'text/javascript'; script.src = './amazon-cognito-auth.min.js'; document.head.appendChild(script);

The above uses this repo.

Clone this wiki locally