question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Login + SSR not working after deploying with next - firebase-auth

See original GitHub issue

Example name

with-firebase-authentication/

Describe the bug

Login and logout (SSR) do not work after deploying with now

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Follow instructions in README
  2. Deploy with now
  3. Navigate to your website after deployed
  4. Login
  5. Refresh page and notice that your messages are not SSR and there is an /api/login 404 error in the console

Expected behavior

Messages should be SSR after login + refresh

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
github-user001commented, Sep 13, 2020

@paultnylund have you whitelisted you’re URL in Firebase console?

0reactions
balazsorban44commented, Dec 25, 2022

This issue has been automatically closed because it received no activity for a month and had no reproduction to investigate. If you think it was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Next auth using firebase not working after deploying to vercel
Show activity on this post. I have built an amazon clone and when i deployed it to vercel the signin with google is...
Read more >
Authenticated server-side rendering with Next.js and Firebase
So I can deploy my entire application with a single command. It solves the stale bundle problem. With a fully client-side rendered app,...
Read more >
Implementing authentication in Next.js with Firebase
Authentication is a crucial feature in web apps today. See how to use Firebase and React Context to implement user auth in a...
Read more >
NextJS Firebase Auth Tutorial • How to Authenticate Users for ...
Learn how to add user authentication to your project by using Firebase Authentication !In this project I add Firebase Authentication to a ...
Read more >
The Ultimate Authentication Guide with Next.js and Firebase
In this section, we set up your Next.js application with Firebase Auth. Configuring your application. After you've created your Firebase project ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found