kelaresg / go-skype-bridge

A Matrix-Skype puppeting bridge
GNU Affero General Public License v3.0
38 stars 19 forks source link

Login is not working with message "login failed, can not find 't' value, orgid is" #9

Open nbartels opened 3 years ago

nbartels commented 3 years ago

I use the current version of the go-skype-bridge and connect it to synapse is working so far. But If I try to log in to skype with the login command I get the error message in my matrix client: login failed, can not find 't' value, orgid is

In the log file is the same message, but without the orgid part: Failed to login: login failed, can not find 't' value

I checked the login and password, and they are correct, at least it's the same as it is working on skype web.

As negative test, I use a wrong password and get the same message as above.

Using a bad login name leads to this error message: Please confirm that your account password is entered correctly , orgid is

Maybe interesting: my login name contains the _ character.

pidongqianqian commented 3 years ago

Thank you for your feedback, is your account an old skype account (non-mail) or a microsoft mail account? i cannot reproduce this issue using my test account (email)

nbartels commented 3 years ago

It's an old Skype account. Let me know if there is some additional logging, I should activate.

pidongqianqian commented 3 years ago

It has been confirmed that this issue exists, and a request related to the login of the old account returns an exception. I am dealing with this through packet capture but so far didn't find the point. for now need find the request different from SkPy (this library can log in with old skype account).

If anyone can point out what is missing or need to be changed in the login request, please let me know here or submit a pr to this lib skypeApi.

nbartels commented 3 years ago

Workaround: I connected the Skype account with a Microsoft account and used the email of that account to connect the bridge. First I got a strange SAML message, but had to verify the email again. On the 2nd try I got exchangeToken err and on the 3rd try the connection was established and my Skype contact appeared. And It looks very stable so far.

pidongqianqian commented 3 years ago

yes, this is a solution.

And I fixed the issue related to the login of the old skype account in the commit just now, you can update to the latest code of the master branch to confirm it.

I will continue to keep this issue open for two days. If there is no new feedback from others on this issue during the period, I will close this issue.

nbartels commented 3 years ago

I tried using the "old" Skype account, but run into the same error as before. 😞

xaionaro commented 2 years ago

And I fixed the issue related to the login of the old skype account in the commit just now, you can update to the latest code of the matrix branch to confirm it.

https://github.com/kelaresg/go-skype-bridge/branches -- it seems there no branch named "matrix"

pidongqianqian commented 2 years ago

And I fixed the issue related to the login of the old skype account in the commit just now, you can update to the latest code of the matrix branch to confirm it.

https://github.com/kelaresg/go-skype-bridge/branches -- it seems there no branch named "matrix"

oh, i wrote it wrong, it should be master branch.

I can log in with my old test account, but your account can't. I can't determine where the issue is, so I didn't close this discussion.

xaionaro commented 2 years ago

Well. I decided to use this:

Workaround: I connected the Skype account with a Microsoft account and used the email of that account to connect the bridge.

And it works. Thanks :)

LeviticusMB commented 2 years ago

I could never make login work, until I tried to create an app password for my Skype user. Then it worked right away.

crazychatting commented 1 year ago

same here. you need to use an "app password" for your microsoft account. you can find this here: https://account.live.com/proofs/Manage/additional image