sftpgo/examples/OTP/authy/checkpwd
Nicola Murino 14961a573f
examples: update deps
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-02-18 13:46:06 +01:00
..
go.mod examples: update deps 2023-02-18 13:46:06 +01:00
main.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
README.md add check password hook 2020-08-19 19:36:12 +02:00

Authy 2FA via check password hook

This example shows how to use 2FA via the check password hook using a password consisting of a fixed part and an Authy TOTP token. The hook will check the TOTP token using the Authy API and SFTPGo will check the fixed part. Please read the sample code, it should be self explanatory.