qvest-digital / loginsrv

JWT login microservice with plugable backends such as OAuth2, Google, Github, htpasswd, osiam, ..
MIT License
1.92k stars 148 forks source link

2fa/TOTP support #177

Closed cktang88 closed 4 years ago

cktang88 commented 4 years ago

Is there any way to get 2fa/TOTP to work with this?

g-w commented 4 years ago

Hello @cktang88,

currently there is no direct support for 2FA in loginsrv and no plans to implement this. If you use OAuth2 (ie. google, facebook) the methods supported by the provider are supported. Further you could implement an Httpupstream service which supports 2FA.

In general this feature is (in my opinion) out of the scope of this project.

If you have any suggestion how to implement this as a feature of loginsrv, please, reopen this issue. I will close it for now.