We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const firebaseAuthConfig: firebaseui.auth.Config | any = { signInFlow: "popup", // google, email, github ... overall provider signInOptions: [ { provider: EmailAuthProvider.PROVIDER_ID, requireDisplayName: true, }, // add additional auth flows below GoogleAuthProvider.PROVIDER_ID, TwitterAuthProvider.PROVIDER_ID, GithubAuthProvider.PROVIDER_ID, ], signInSuccessUrl: "/", credentialHelper: "none", callbacks: { signInSuccessWithAuthResult: async ({ user }, redirectUrl) => { const userData = mapUserData(user); setUserCookie(userData); }, }, };
react-firebaseui
dynamic import
import dynamic from "next/dynamic"; const FirebaseAuth = dynamic( () => import("../../components/auth/firebaseAuth"), { ssr: false, } );
로그인 구현
해당 uid를 통해 장바구니에 id값 넘긴 후
The text was updated successfully, but these errors were encountered:
와 덕분에 해결했어요 감사합니다~
Sorry, something went wrong.
도움이 되셨다니 다행입니다.!!
No branches or pull requests
StyledFirebaseAuth 에서 config에러
내 ui config
문제 해결
첫 번째 이슈 - TSX에서 react-firebaseui
react-firebaseui
는 타입스크립트를 현재 지원하지 않는 것같다.두 번째 이슈 - SSR을 지원하지 않음
dynamic import
`를 사용해줘야 했다.dynamic import
를 해줘야 한다는 것을 깨달음...구현 결과
로그인 구현
->해당 uid를 통해 장바구니에 id값 넘긴 후
-> 유저마다 다른 장바구니 까지 구현하는 것이 우선으로 한 뒤, 차차 개선해나가야겠다The text was updated successfully, but these errors were encountered: