TypeScript

Firebase google auth가 작동되지 않아요

el

elecball_
질문 종료
60 XP
await signInWithRedirect(auth, provider)
    .then(async (result) => {
          console.log("asdfafds");
          onAuthStateChanged(auth, async (user: User | null) => {
            console.log(user?.displayName);
            goto("/");
        });
console.log("endfsad");

위 코드처럼 짰는데 로그인 창으로 리다이렉트 되고, 로그인 화면을 클릭하면 다시 돌아오기만 하고 아래 코드들이 하나도 작동되지 않습니다.
(svelte)


불러오는 중...