jfjessup / aws-cognito-token-cli

Generate access and identity tokens for your AWS Cognito UserPools.
MIT License
4 stars 1 forks source link

Missing component(s) in project! #2

Open cp10000 opened 4 years ago

cp10000 commented 4 years ago

Yourr project looks interesting given that I'm using it right now. I'm trying to use your project. I followed the instructions you have your page. When I try to run it I get this....

NOTE: invoke script just calls it the way you wrote it.. USERNAME=user-1000 PASSWORD=America!1234 TARGET_RESOURCES=ALPHA npm run gen:token

./invoke npm ERR! missing script: gen:token

So you are missing the script for gen function. Can you update your project to include it?

Furthermore, don't you require the URL to the cognito account? That is the URL with the Cognito user chosen domain? I thought the authentication would be done through that URL.

jfjessup commented 4 years ago

Hi @cp10000! This is an old project that was a very quick hack/POC. There is another version that I will publish to NPM in the next day or two.