이슈 내용
-
소셜 로그인 회원이 회원가입 성공 후 signIn 호출이 불가 (password가 없음)
-
password를 Optional로 선언 -> email만 알면 바로 뚫림
-
singUp에서 소셜 유저라면 social_verified_token 추가로 반환
-
password를 Optional로 설정
-
소셜 유저 SignIn 요청 시 social_verified_token Optional로 요청 받음
변경 사항
SignIn Requset
properties: {
email: emailSchema,
password: passwordSchema,
},
required: ['email', 'password'],
properties: {
email: emailSchema,
password: passwordSchema,
social_verified_token: stringSchema,
},
required: ['email'],
SignUp Response
properties: {
result: {
type: 'boolean',
},
id: {
type: 'string',
},
},
required: ['result'],
properties: {
result: {
type: 'boolean',
},
id: {
type: 'string',
},
social_verified_token: {
type: 'string',
},
},
required: ['result'],
이슈 내용
소셜 로그인 회원이 회원가입 성공 후 signIn 호출이 불가 (password가 없음)
password를 Optional로 선언 -> email만 알면 바로 뚫림
singUp에서 소셜 유저라면 social_verified_token 추가로 반환
password를 Optional로 설정
소셜 유저 SignIn 요청 시 social_verified_token Optional로 요청 받음
변경 사항
SignIn Requset
SignUp Response