A small example repository of Server Side Rendered (SSR) Firebase Authentication in NextJS (getServerSideProps)
yarnDuplicate the .env.example file and rename it to .env.development. Replace the values with your own.
yarn firebase:emulateThis will create a firebase authentication instance on port 9099 for testing
yarn dev- Repository uses the basic structure outlined in this article The Ultimate Authentication Guide with Next.js and Firebase