Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth 프로토콜 변경 #57

Closed
gwansikk opened this issue Feb 29, 2024 · 0 comments · Fixed by #58
Closed

OAuth 프로토콜 변경 #57

gwansikk opened this issue Feb 29, 2024 · 0 comments · Fixed by #58
Assignees
Labels
🔨 Refactor 코드 수정 및 최적화

Comments

@gwansikk
Copy link
Member

gwansikk commented Feb 29, 2024

Describe

Auth 프로토콜 변경 사항입니다. 자세한 사항은 ETC에 있는 이슈를 확인해주세요.

  • ID가 존재하지 않을 경우 401로 반환됩니다.
  • 로그인에 성공 했을 때 반환 되는 데이터는 커스텀 헤더(X-CLab-Auth)를 통해 반환됩니다.
  • 커스텀 헤더는 JSON이 직렬화 되어 string으로 저장되어 있습니다.

Tasks

Auth 프로젝트에서 새로운 프로토콜로 변경합니다.

  • 기존 Body를 통해 데이터를 받는 로직을 제거하고, 커스텀 헤더를 통해 데이터를 받아 프로젝트 URL로 파라미터에 토큰을 담아 리다이렉션합니다.
  • 커스텀 헤더는 JSON이 직렬화 되어 String 타입으로 되어 있습니다. 프론트 측에서 역직렬화 처리하여 JSON을 핸들링합니다.

ETC

@gwansikk gwansikk added the 🔨 Refactor 코드 수정 및 최적화 label Feb 29, 2024
@gwansikk gwansikk mentioned this issue Feb 29, 2024
8 tasks
@gwansikk gwansikk linked a pull request Mar 1, 2024 that will close this issue
@gwansikk gwansikk closed this as completed Mar 1, 2024
@gwansikk gwansikk changed the title 새로운 OAuth 프로토콜로 변경합니다. OAuth 프로토콜 변경 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 Refactor 코드 수정 및 최적화
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants