Skip to content

Comments

feat Security Oauth2.0 Pull Request#8

Merged
toychip merged 19 commits intodevlopfrom
7-feat-spring-security-oauth20-+-redis
Nov 29, 2023
Merged

feat Security Oauth2.0 Pull Request#8
toychip merged 19 commits intodevlopfrom
7-feat-spring-security-oauth20-+-redis

Conversation

@toychip
Copy link
Contributor

@toychip toychip commented Nov 29, 2023

No description provided.

UsernamePasswordAuthenticationToken을 직접 생성하지 않고,CustomOAuth2UserService의 loadUser메서가 OAuth2User를 구현한 CustomOauth2User를 반환하여 자동으로 OAuth2AuthenticationToken가 생성되도록 설정하여 오류 해결
기존 Security 설정이 없어 UUID로 두었던 것을 SecurityContextHolder에서 값을 꺼내어 채우는 로직 추가
pull Request 하기 전, 팀원들의 개발 편의를 위해 암호화 비활성화
@toychip toychip added ✨ Feature 새로운 기능 추가 🔧 Setting 설정 변경 임준형 labels Nov 29, 2023
@toychip toychip added this to the 1차 배포 milestone Nov 29, 2023
@toychip toychip self-assigned this Nov 29, 2023
@toychip toychip linked an issue Nov 29, 2023 that may be closed by this pull request
5 tasks
@toychip toychip merged commit b79f5d2 into devlop Nov 29, 2023
@toychip toychip deleted the 7-feat-spring-security-oauth20-+-redis branch November 29, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 새로운 기능 추가 🔧 Setting 설정 변경 임준형

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Security Github OAuth2.0

1 participant