반응형
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 | 31 |
Tags
- frontend
- MongoDB
- 파이썬
- jwt
- 스프링부트
- react
- spring
- 게임
- 유니티
- Python
- oAuth
- unity
- netlify
- 프로그래밍
- bcrypt
- RiotAPI
- OAuth2.0
- express
- IntelliJ
- 백준
- 깃
- 백엔드
- c#
- 코딩
- node.js
- JSON
- AWS
- springboot
- 스프링
- 게임개발
Archives
- Today
- Total
목록postman (1)
Unwound Developer

node.js로 로그인을 구현했을 때와 같은 방식으로 로그인을 구현했습니다. 개발 환경이 스프링부트라서 문법차이는 있지만, 과정은 일맥상통합니다. 우선 build.gradle에 dependencies{ ... implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'io.jsonwebtoken:jjwt:0.9.1' } 를 추가합니다. 전자는 Bcrypt사용에, 후자는 JWT사용에 필요한 라이브러리를 사용가능하게 해줍니다. application.properties에는 JWT Secretkey를 입력합니다. 나중에 jwt 토큰을 해독할 때 필요합니다. # JWT SecretKey jwt.password = {J..
Web/Spring
2023. 2. 8. 18:45