Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Phone/SMS authentication #247

Open
Open

Description

@zunlongzhou

Before we start...

  • I've searched existing issues, but my request hasn't been submitted yet.
  • I've read the documentation, but my request is something new.
  • I've checked on Skype for Web, and the feature I'm requesting does exist there.

Summary

I found that the author did not provide the SMS login method. If I want to add this feature, what should I do? Do you have any reference materials or possible technical paths to share

Code sample

from skpy import Skypy

sk=Skypy(phone number, SMS)

SkPy version

latest

Python version

3.7

Anything else?

No response

Activity

  1. Terrance commented on Nov 21, 2023

    @Terrance
    Owner

    If you're referring to SMS in two-factor authentication, you should instead use an application-specific password along with your Microsoft account's email address. If your account lacks either of an email or password, you should be able to add them whilst keeping whatever existing authentication method you have.

    Otherwise, if you're actually using a phone number and receiving an SMS as the entire login flow, you'll need to watch that flow from browser dev tools and figure out which requests are needed to produce a Skype API token. See Skype protocol > Credentials in the docs for the existing endpoints used, and the various auth providers that implement those endpoint calls.

  2. changed the title [-]Customized development of new features[/-] [+]Phone/SMS authentication[/+] on Nov 21, 2023
  3. zunlongzhou commented on Nov 22, 2023

    @zunlongzhou
    Author

    I also found that Windows clients can log in with only phone and SMS verification codes, and can be used for more than a month at a time without the need to log in again. If I use the web request method you provided, can I maintain login status for a long time without the need to log in again

    If it is the principle of restoring web requests, it should be the same as logging in to a browser, and will log in again based on the token expiration time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions