leetcode-cli icon indicating copy to clipboard operation
leetcode-cli copied to clipboard

How to login with Github?

Open jianzhongli opened this issue 7 years ago • 3 comments

Problem Summary

In leetcode.com, we can login via other accounts like github, seems leetcode-cli didn't provide such login method. Will it be supported in the future?

jianzhongli avatar Jun 06 '18 07:06 jianzhongli

Wondering how could leetcode-cli play oauth in this scenario, maybe you experts could give a light.

My understanding is when you are logining leetcode.com with github account, there will be traffics between leetcode.com and github.com to talk with oauth2. While leetcode-cli, in this case, is a third guy that seems impossible to make that flow happen?

skygragon avatar Jul 03 '18 02:07 skygragon

What I did is set a password (forget password) and use the password to login.

sfdye avatar Jul 16 '18 07:07 sfdye

u can set password in profile at the website, and then, u can login by leetcode-cli

wenjoy avatar Jul 20 '18 02:07 wenjoy