티스토리 뷰

문제

서비스를 진행하기 위해 OAuth 인증 및 JWT 활용이 점점 필수로 사용한거 같다고 느꼈다. 이에 따라 Spring Boot와 React를 이용하여 OAuth2.0 과 JWT를 구현하였다.

 

실행

- JWT 테스트

- OAuth2 테스트

 

 

 

 

Git

https://github.com/MizzleAa/Spring-Boot-Security-OAuth2-JWT

 

GitHub - MizzleAa/Spring-Boot-Security-OAuth2-JWT

Contribute to MizzleAa/Spring-Boot-Security-OAuth2-JWT development by creating an account on GitHub.

github.com

 

참고 싸이트

- react & spring boot : https://www.callicoder.com/spring-boot-security-oauth2-social-login-part-1/

 

Spring Boot OAuth2 Social Login with Google, Facebook, and Github - Part 1

In this article, You'll learn how to add social as well as email and password based login to your spring boot application using Spring Security and Spring Security's OAuth2 client. You'll build a full stack application with Spring Boot and React containing

www.callicoder.com

- spring boot sign in/out : https://kukekyakya.tistory.com/entry/Spring-boot-access-token-refresh-token-%EB%B0%9C%EA%B8%89%EB%B0%9B%EA%B8%B0jwt

 

Spring Boot jwt 사용하기 access token, refresh token 발급

로그인 요청시 access token(jwt)과 refresh token을 발급받는 기능을 구현해보겠습니다. 기존에 access token을 발급 받는 기능까지는 구현을 했었지만, 액세스 토큰의 짧은 만료 기간으로 인해 계속해서

kukekyakya.tistory.com

 

반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
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
글 보관함