Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Nest.js
- nest authentication
- vm ssh
- port 22: Operation timed out
- local database
- gcp ssh 포트 변경
- How to Join Tables Without Relations in TypeORM
- JWT
- 맥 포트닫기
- Nest.js 로그인
- 맥 사용하는 포트 확인
- vm ssh 포트
- docker mysql설치하기
- ssh연결
- JWT쓰는이유
- nest jwt
- ssh vm연결
- gcp ssh vm
- 맥 포트확인
- InnerJoinMapOne
- Nest.js login
- vm ssh port
- nest login
- jwt장점
- vm ssh 포트 변경
- gcp ssh
- ssh 연결 방법
- nest passport
- ssh 포트 변경
- macOS ssh
Archives
- Today
- Total
목록passport.js (1)
Seize the day
[Nest.js] Login Authentication 구현 ( passport + jwt + local strategy )
사용자인증은 대부분의 애플리케이션에서 필수적인 부분이다. 인증을 처리하는 방법은 다양하지만 Nest.js 공식홈페이지에서 passport를 안내하고 있어 필자는 passport와 jwt를 선택했다. jwt 전략을 사용 하기 전 passport-local을 먼저 구현하였다. Nest.js로 Login 구현하기 (1) 패키지 설치 및 모듈 생성 $ npm install --save @nestjs/passport passport passport-local $ npm install --save-dev @types/passport-local 패키지를 설치 후 모듈과 서비스를 생성한다. $ nest g module auth $ nest g service auth --no-spec $ nest g module use..
개발/Node.js
2022. 4. 4. 00:37