juniors-dev-study / domain-driven-design

1 stars 0 forks source link

[#31] 로그인구현 #43

Closed youngvly closed 2 years ago

youngvly commented 2 years ago

MSA라서 각 서버마다 인증이 필요한 구조라 Oauth2 방식 적용했습니다.

대략적인 구조

IMG_KEEP_1637928620

OAuth

image


추가로 필요한 설정

  1. 토큰 암호키 저장 secret repo 에서 받아서 각 위치에 저장해주시면 됩니다
    /authentication/src/main/resources/oauth-jwt.jks
    /user-api/src/main/resources/rsa_jwk.pub
  2. 로컬도메인 저장
    127.0.0.1       local-auth.ddd.sns.com local-front.ddd.sns.com

    관련이슈



미구현

토나오네요ㅜㅜ 😭 resolve #31