DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
69 stars 9 forks source link

API in Proxy for Multi Factor Authentication in Desktop Client #104

Closed teon closed 5 months ago

teon commented 7 months ago
  1. Proxy will expose user MFA endpoints from core by connecting with GRPC to defguard.
  2. Defuard client before connect will need to go through MFA exactly the same as after doing login on the web.
  3. After successful MFA on client - the client receives a unique PSK KEY for this device, the gateway receives action of adding a new PEER with this PSK key.

In VPN Settings we need a checkbox Require MFA to connect to this Location (enabled by default).

Add rate limit - 5/min && (if possible) after that 1min brake.

teon commented 7 months ago

@4lb we need to talk it through from design point of view

teon commented 7 months ago

Agreed on duplicate core UI

przemyslaw commented 7 months ago

MVP - TOTP or email codes for MFA

wojcik91 commented 7 months ago

TODO:

teon commented 6 months ago

Design -> https://www.figma.com/file/uoFcgpOuVWa6g7tvKwB52o/defguard?type=design&node-id=3963%3A12460&mode=design&t=8S3WzxGSIpjnMb74-1

Sekcja: GH-https://github.com/DefGuard/client/issues/128

wojcik91 commented 6 months ago

Rate limiting moved to a dedicated task: https://github.com/DefGuard/proxy/issues/45