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

clientlogin + 2FA #260

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

clientlogin + 2FA #260

wants to merge 4 commits into from

Commits on Nov 11, 2017

  1. First commit for clientlogin + 2FA

    To be able to login with 2FA enabled, we need to use clientlogin instead of login.
    In case of 2fa, a second http request is needed to send user, pass, totp (2fa code), fake loginreturnurl, rememberMe boolean and our classical token.
    
    It's the first commit, currently the login form works as usual for normal users. users with 2fa enabled want be connected yet.
    
    **So this commit is not ready to be merged for now.**
    
    Inspired by https://github.com/commons-app/apps-android-commons/blob/b0e8175003a686789474238dd293aa89d1e925c7/app/src/main/java/fr/free/nrw/commons/mwapi/ApacheHttpClientMediaWikiApi.java#L93
    
    Bug: https://phabricator.wikimedia.org/T180279
    framawiki committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    af06a68 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2017

  1. improvements

    framawiki committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    3e68481 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2017

  1. Configuration menu
    Copy the full SHA
    5abbf15 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2018

  1. Configuration menu
    Copy the full SHA
    904172b View commit details
    Browse the repository at this point in the history