ALOHA CLASS
/
Back-End
/
Spring Security
Search
Share
Spring Security x React x JWT
JWT(JSON Web Token)
βμΈμ¦ λ° κΆνβ κ³Ό κ΄λ ¨λ μ 보λ₯Ό μμ νκ² μ λ¬νκΈ° μν JSON νμμ μνΈνλ λ¬Έμμ΄
JWT.IO
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
μΈμ¦, κΆν λΆμ¬, μ 보 κ΅ν λ±μ μ¬μ©λ©λλ€.
JWT μμ½
JWT λ ν€λ, νμ΄λ‘λ, μκ·Έλμ²λ‘ ꡬμ±λμ΄ μμΌλ©°, ν€λμ ν ν°μ μ’ λ₯μ μνΈν μκ³ λ¦¬μ¦μ, νμ΄λ‘λμ μ μ‘ν μ 보λ₯Ό, μκ·Έλμ²μ ν€λμ νμ΄λ‘λλ₯Ό κ²μ¦νκΈ° μν μ 보λ₯Ό μ μ₯νμ¬
ν€λ
.
νμ΄λ‘λ
.
μκ·Έλμ²
κ³Ό κ°μ ννλ‘ λ§λ€μ΄μ§λλ€.
JWT
SpringBoot λ‘ JWT ν ν° μμ± λ° ν΄μνκΈ°
JWT λΌμ΄λΈλ¬λ¦¬
β’
https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-api
β’
https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-impl
β’
https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-jackson/0.12.3
build.gradle
JWT x SpringBoot
JWT x SpringSecurity
MSA5_REACT/Login/server at main Β· ALOHA-CLASS/MSA5_REACT
λμ‘°μμμΉ΄λ°λ―Έ React μ€μ΅. Contribute to ALOHA-CLASS/MSA5_REACT development by creating an account on GitHub.
β’
build.gradle
β’
νμκ°μ λ° λ‘κ·ΈμΈ
β’
μΈμ¦
build.gradle
JWT x SpringSecurity
React x JWT x SpringSecurity
Client (React)
MSA5_REACT/Login/client at main Β· ALOHA-CLASS/MSA5_REACT
λμ‘°μμμΉ΄λ°λ―Έ React μ€μ΅. Contribute to ALOHA-CLASS/MSA5_REACT development by creating an account on GitHub.
Server (Spring Boot)
JWT x SpringSecurity
MSA5_REACT/Login/server at main Β· ALOHA-CLASS/MSA5_REACT
λμ‘°μμμΉ΄λ°λ―Έ React μ€μ΅. Contribute to ALOHA-CLASS/MSA5_REACT development by creating an account on GitHub.
React x JWT x SpringSecurity