
OTP란 Onte Time Password (일회성 비밀번호) 를 뜻한다 이중요소 인증방식(Two Factor Authentication)으로서 2단계 인증으로 많이 사용된다. Back단에서 구현하는 방식도 있지만 오늘은 Front단에서 Vue로 구현! 1. speakeasy, qrcode INSTALL 1) npm install --save speakeasy 2) npm install --save qrcode 위와같이 터미널에서 두가지를 라이브러리를 모듈에 추가 2. generateSecret 사용 후 secret key 값 return 받기 const secret = speakeasy.generateSecret({ length: 20, name: 'testId@naver.com', algorithm:..
FrontEnd/Vue
2021. 7. 28. 09:22
공지사항
최근에 올라온 글