summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests
diff options
context:
space:
mode:
authorikeblaster <ike@thez.info>2021-08-28 15:40:33 +0200
committerikeblaster <ike@thez.info>2021-08-28 15:40:33 +0200
commitbc9c084e1214b800b403a481210dd3f492c340e8 (patch)
tree3aaeca2915be9e83ac43b4a6731cbe5cf6da162b /protocols/SkypeWeb/src/requests
parent466f6fdabed3914a1cf07f9b2e2ec845422477b6 (diff)
fixes #2946 (Skype: cannot login)
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r--protocols/SkypeWeb/src/requests/oauth.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/oauth.h b/protocols/SkypeWeb/src/requests/oauth.h
index dc579a238f..efd43fc81f 100644
--- a/protocols/SkypeWeb/src/requests/oauth.h
+++ b/protocols/SkypeWeb/src/requests/oauth.h
@@ -52,14 +52,16 @@ struct OAuthRequest : public AsyncHttpRequest
{
this << CHAR_PARAM("wa", "wsignin1.0") << CHAR_PARAM("wp", "MBI_SSL")
<< CHAR_PARAM("wreply", "https://lw.skype.com/login/oauth/proxy?site_name=lw.skype.com")
- << CHAR_PARAM("cobrandid", "90010");
+ << CHAR_PARAM("cobrandid", "90010")
+ << CHAR_PARAM("id", "293290")
+ << CHAR_PARAM("opid", opid);
+
m_szUrl.AppendFormat("?%s", m_szParam.c_str());
m_szParam.Empty();
AddHeader("Cookie", cookies);
- this << CHAR_PARAM("type", "28") << CHAR_PARAM("PPFT", ppft) << CHAR_PARAM("opid", opid) << CHAR_PARAM("site_name", "lw.skype.com&")
- << INT_PARAM("oauthPartner", 999) << INT_PARAM("client_id", 578134) << CHAR_PARAM("redirect_uri", "https://web.skype.com");
+ this << CHAR_PARAM("type", "28") << CHAR_PARAM("PPFT", ppft);
}
OAuthRequest(const char *t) :