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

OIDC 토큰 추가, 일부 interface export #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SeHyun-Kim04
Copy link

@SeHyun-Kim04 SeHyun-Kim04 commented Jan 11, 2025

Kakao OAuth v2에서 부터는 OpenID Connect(OIDC)를 지원하고 있습니다.
리턴값도 정상적으로 들어오지만, type에 OIDC가 없어서 id_token을 추가해두었습니다.

추가로, 주입하는 함수(onSuccess, onFail)를 외부에서 선언 하는 경우를 위해서 함수에서 사용하는 LoginResponse와 UserProfile, KakaoError에 export를 추가하여 다른 파일에서도 사용할 수 있도록 해두었습니다.

확인 후 merge 해주시면 감사드리겠습니다 :)

= Kakao OAuth 관련 문서
https://developers.kakao.com/docs/latest/ko/kakaologin/rest-api#request-token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant