Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login with MicrosoftAccount #116

Closed
aeisenberg opened this issue Mar 18, 2019 · 3 comments
Closed

Unable to login with MicrosoftAccount #116

aeisenberg opened this issue Mar 18, 2019 · 3 comments

Comments

@aeisenberg
Copy link

I started receiving the following error last night. My account is no longer able to log in to skype using this library. Is it possible that the api has changed?

Unable to login with MicrosoftAccount.
MicrosoftAccountLogin: Unable to login with MicrosoftAccount.
  caused by GetLiveToken: Unable to get the Live token for Skype
  caused by LiveTokenNotFound: Unable to find the Live token. This token is normally found in the HTML response as the value of the element with the id "t". This error may be caused by a change in the Microsoft login workflow. HTML page: "<html><head><noscript>JavaScript required to sign in<meta http-equiv=\"Refresh\" content=\"0; URL=https://login.live.com/jsDisabled.srf?mkt=EN-US&lc=1033&uaid=08766b033f8f450ca7ad755e627193ec&client_flight=ReservedFlight33,ReservedFligh\"/></noscript><title>Continue</title><script type=\"text/javascript\">function OnBack(){}function OnNext(){}function DoSubmit(){var subt=false;if(!subt){subt=true;document.fmHF.submit();}}</script></head><body onload=\"javascript:DoSubmit();\"><form name=\"fmHF\" id=\"fmHF\" action=\"https://account.live.com/apps/upsell?app=Authenticator&mkt=EN-US&uiflavor=web&id=293290&ru=https://login.live.com/login.srf%3fid%3d293290%26opid%3d8F099F11057090DA%26opidt%3d1552929230\" method=\"post\" target=\"_top\"><input type=\"hidden\" name=\"client_flight\" id=\"client_flight\" value=\"ReservedFlight33,ReservedFligh\"><input type=\"hidden\" name=\"ipt\" id=\"ipt\" value=\"DU3HcN59A5aRRYHqRRY!A7pxEWFw7LWZ4Y!x1yNGsFfbHZTi4NIQPsjCeI*g21R3HB*lLAj9F9HHIdB8KQr9LFL2ETp46pT!YObubWX5Oma*DxSCS!W5M9r2mTqumIukKtjnu4hKqBFOW3uvPdVlkieVYhel1QiB3ZmwIMfTrHsbdh!Ogf8zDuFjTygkJYAIXU8cefAMOu62BXdHzGJu!yAEoI8MVJ4Gw6yq5ZrIu*tYzQ*4sPFLU8KynDh7fiDBF6Pf*8kiod0oiLkA47MlPT*!8k8mfTNHxoLCa5waRMNjDBtCZ7lq00rdTPxASLhdZvWlnv2d*bafEmrwnrwjKfdgMHVZaiGPdYLPFu7KPeUVsAb60pRs7eIRLMGmIAqM*NucQM088OjlZICfXU8hPuuHPvYuxkRxrdRJErU!VZ3eo*wqxgQdNhulH4E*Sf3mUx17KJZNLhYbuH*54FcJlFIMs9es0zqOX!fQRxc!P78s\"><input type=\"hidden\" name=\"pprid\" id=\"pprid\" value=\"e152605252064532\"><input type=\"hidden\" name=\"uaid\" id=\"uaid\" value=\"08766b033f8f450ca7ad755e627193ec\"></form></body></html>"
@ataliba
Copy link

ataliba commented May 31, 2019

I have the same problem here. I believe skype have a change on the api.

'LiveTokenNotFound: Unable to find the Live token. This token is normally found in the HTML response as the value of the element with the id "t". This error may be caused by a change in the Microsoft login workflow. HTML page: "JavaScript required to sign in<title>Continue</title><script type=\\"text/javascript\\">function OnBack(){}function OnNext(){}function DoSubmit(){var subt=false;if(!subt){subt=true;document.fmHF.submit();}}</script>"\n at Object.create (/opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/errors/microsoft-account/get-live-token.js:17:16)\n at scrapLiveToken (/opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/providers/microsoft-account.js:218:61)\n at /opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/providers/microsoft-account.js:137:20\n at Generator.next ()\n at fulfilled (/opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/providers/microsoft-account.js:4:58)\n at processTicksAndRejections (internal/process/task_queues.js:86:5)' }, message: 'GetLiveToken: Unable to get the Live token for Skype\n caused by LiveTokenNotFound: Unable to find the Live token. This token is normally found in the HTML response as the value of the element with the id "t". This error may be caused by a change in the Microsoft login workflow. HTML page: "JavaScript required to sign in<title>Continue</title><script type=\\"text/javascript\\">function OnBack(){}function OnNext(){}function DoSubmit(){var subt=false;if(!subt){subt=true;document.fmHF.submit();}}</script>"\n at Object.create (/opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/errors/microsoft-account/get-live-token.js:17:16)\n at scrapLiveToken (/opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/providers/microsoft-account.js:218:61)\n at /opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/providers/microsoft-account.js:137:20\n at Generator.next ()\n at fulfilled (/opt/skype/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/providers/microsoft-account.js:4:58)\n at processTicksAndRejections (internal/process/task_queues.js:86:5)' } }

@aeisenberg
Copy link
Author

So, I had stopped receiving this message for a few months, and as of Tuesday, I started receiving it again.

@aeisenberg
Copy link
Author

Actually, I see what I need to do. When I get this error, I need to log on to through the website directly and click through a dialog or two before getting to the main site. Once you do that, then your account is in a good state again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants