Earnest-Labs / aws-sts

Generation of AWS STS tokens via SAML authentication.
67 stars 18 forks source link

Error: Cannot read property 'dispatchEvent' of null #12

Open dabest1 opened 7 years ago

dabest1 commented 7 years ago

AWS Token Generator used to work for me before. Since then many things have changed, including upgrading MacOS X, VirtualBox, and Docker Tools.

Here is what happens now. I start docker and then run the following:

./aws-token.sh --username=myusername --account=myaccount Earnest AWS Token Generator

? Okta password: **** ◡ Logging in...Cannot read property 'dispatchEvent' of null

bromanko commented 7 years ago

Here are a few things you can try:

  1. Check that the time in your Docker VM is correct. You can get errors generating tokens if the time has drifted.
  2. Run in debug mode directly on your host (not in Docker). This will open the browser window so that you can spy on the automation.
dabest1 commented 7 years ago

Created a pull request: #13.