package
0.0.0-20220610093703-3be1cb674a51
Repository: https://github.com/ruang-guru/playground.git
Documentation: pkg.go.dev
# README
#Two Factor Authentication
##Requirement
- Google Authenticator or other MFA [here]
##Step
- Register MFA manual di Aplikasi Google Authenticator menggunakan secret yang sama dengan di
function VerifyOTP
contoh :2MXGP5X3FVUEK6W4UB2PPODSP2GKYWUT
- Login ke dalam service dengan endpoint
/signin
(Tidak perlu akun karna sudah dimock) - Gunakan return dari endpoint sebelumnya sebagai header berikut\
Authorization : Bearer <token>
' - Buka aplikasi MFA, kemudian masukan token ke endpoint
/verify-otp
# Functions
No description provided by the author
No description provided by the author
mock the user signin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author