Firebase admin SDK server-side login | Nuxt 3 | Server middleware | Session Cookie

preview_player
Показать описание
Hi all,

In this video, we will see how to login to the user using Firebase admin SDK. We will see how to create a server middleware in Nuxt 3 to have authenticated routes.

Follow me on Twitter:

Follow me on LinkedIn

Follow me on GitHub

Website

Join this channel to get access to perks and exclusive videos:
Рекомендации по теме
Комментарии
Автор

I enjoyed building this using serverside and middleware (something I'm still trying to understand). I also appreciate how you troubleshoot all your errors -- that helped me understand what to expect when things go wrong. I would like to see this concept expanded into a real login page (form), authenticated server side, and then logged out. I think the entire process would be very helpful. Keep Teaching!

KyleBondo
Автор

Great tutorial, thanks aa do everything here and you will see that this project does not work on firebase hosting. For some reason cookies cannot be read with useCookie and sent for validation. I don't know if it's a problem with Nuxt or firebase.

rubidik-dq
Автор

Hello. Thank you for the video. How should I implement logout? Should I just clear the session cookie in frontend?

mn
Автор

Hello, how could I just use the admin sdk to delete other auth users using another user, how could i make it work at apply it to my project?

anonymooogaming
Автор

Interesting. I don't understand why on server middleware you post back to the server?

toxaq
Автор

how to deploy service account json safely?

JulienReszka
Автор

Hi can someone help me, how to set in NUXT 3 SameSite: strict gloably

artor
Автор

Hello,
Thanks for this video, very interesting

yanDev
Автор

`user` is an instance of UserCredential and `user.user.getIdToken()` is still valid in V9 SDK.

dharmarajr
Автор

Great tutorial, thanks aa do everything here and you will see that this project does not work on firebase hosting. For some reason cookies cannot be read with useCookie and sent for validation. I don't know if it's a problem with Nuxt or firebase.

rubidik-dq