yong.dev.log

  • 홈
  • Computer Science
  • 태그
  • 방명록

OAuth2.0 2

Spring Security 6.x.x OAuth2.0 JWT 기반 인증 인가

application.properties#registrationspring.security.oauth2.client.registration.서비스명.client-name=서비스명spring.security.oauth2.client.registration.서비스명.client-id=서비스에서 발급 받은 아이디spring.security.oauth2.client.registration.서비스명.client-secret=서비스에서 발급 받은 비밀번호spring.security.oauth2.client.registration.서비스명.redirect-uri=서비스에 등록한 우리쪽 로그인 성공 URIspring.security.oauth2.client.registration.서비스명.authorization-gr..

Web/Spring Security 2025.02.26

JWT 방식 OAuth2.0 클라이언트 동작 원리

무지개 색 순서로 화살표 잘 따라가보기1. 클라이언트가 소셜 로그인 시도(/auth/authentication/서비스) 2. OAuth2AuthorizationReqeustRedirectFilter에서 소셜 로그인 서비스 인증서버로 인증 요청 3. 인증서버에서 클라이언트에게 해당 서비스 로그인 페이지 응답 4. 로그인 성공 시, 인증 서버에서 우리 서버 주소로 리다이렉트 후OAuth2LoginAuthenticationFilter에서 Code 획득(/login/oauth2/code/서비스) 5. OAuth2LoginAuthenticationProvider로 Code를 넘기고, 여기서 인증서버로 코드를 넘겨서 Access 토큰을 발급 받음 6. 발급받은 Access 토큰으로  소셜 로그인 서비스 리소스 서버..

Web/Spring Security 2025.02.26
이전
1
다음
더보기
프로필사진

yong.dev.log

용우의 개발 일기장

  • 분류 전체보기 (63)
    • Computer Science (19)
      • 알고리즘 (9)
      • 일반 (1)
      • Java (0)
      • 운영체제 (2)
      • 네트워크 (3)
      • AI (2)
      • 디자인 패턴 (2)
    • Programming (1)
      • Git (1)
      • GitHub (0)
    • Web (17)
      • Web Application (1)
      • Spring, SpringBoot (8)
      • Spring Security (8)
    • Security (1)
      • Web (1)
    • Game (1)
      • Unity (1)
    • Project (22)
      • Boilerplate (21)
      • MBTI Translator (0)
      • Duri (1)
    • 기타 (0)
      • 우테코 7기 (0)

Tag

BFS, spring security, CORS, Mockito, pagination, 너비 우선 탐색, jwt, 소셜 로그인, ACCESS, Algorithm, Breadth-First Search, OAuth2.0, 우테코, 알고리즘, QueryDSL, 다중 토큰, Refresh, 백준, Spring Boot, git,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바