Skip to content

Commit

Permalink
feat: apple 로그인 url 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
shinwonse committed Aug 29, 2023
1 parent 53a7472 commit 86f9aa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shared/hooks/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const useAuth = () => {
};

const loginWithApple = () => {
alert('준비중입니다!');
location.href =
'https://appleid.apple.com/auth/authorize?client_id=sullogapp.sullog.com&redirect_uri=https://sullog-client.vercel.app/api/redirect/apple&response_type=code&scope=name%20email&response_mode=form_post';
};

const logout = async () => {
Expand Down

0 comments on commit 86f9aa7

Please sign in to comment.