Тёмный

Nuxt 3 App | Server Side Firebase Auth | Meta Components Generator App 

WebDevWithArtisan
Подписаться 3,5 тыс.
Просмотров 6 тыс.
50% 1

Hi all,
In this video, we will see how we can have server-side Firebase Auth in our Meta Components Generator App.
Github Repo:
github.com/adi...
Follow me on Twitter:
/ adir1521
Follow me on LinkedIn
/ adityakadam2194
Follow me on GitHub
github.com/adi...
Website
adiranids.com
Join this channel to get access to perks and exclusive videos:
/ @webdevwithartisan

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@awesome8326
@awesome8326 Год назад
I was having the exact problem mentioned in 1:10:40. Thank you for showing how to dynamically switch Navbar, could not find this anywhere. :)
@fegreat2462
@fegreat2462 Год назад
why don't you delete login state in client side as firebase docs suggest: // As httpOnly cookies are to be used, do not persist any state client side. firebase.auth().setPersistence(firebase.auth.Auth.Persistence.NONE); when you setcookied on server? The cookie on client browser will be replace??
@shuvokhan3148
@shuvokhan3148 Год назад
What you are using for auto suggest?
@shuvokhan3148
@shuvokhan3148 Год назад
What is the different of store/pinia and composable?
@WebDevWithArtisan
@WebDevWithArtisan Год назад
useState in Nuxt 3 is way simplified version what Pinia does for Vue 3. Plus useState allows server to client side hydration as well.
@shuvokhan3148
@shuvokhan3148 Год назад
@@WebDevWithArtisan thank you. I have another question. Suppose i have 100+ authenticate private routes, if i get data from them, i need to pass authenticate user tokens in every request. I have nuxt3 app, and i set the user token in localstorage or cookie. I need to implement how to make a system in my nuxt app, when send a request for my api private routes, if user have localstorage any token, it will pass automatically in Every request otherwise not. When i am using axios, i have create axiosInstance. Interceptors request config.headers.common["authorization"] = localstorageToken; But in nuxt3, there is no axios. So how can i manage this in nuxt3? Kindly help me 🙏
@WebDevWithArtisan
@WebDevWithArtisan Год назад
@@shuvokhan3148 You can use axios with Nuxt 3 if you like. Instead of $fetch you could axios.
Далее
Manage users in your Nuxt SSR app with Firebase 🔥
47:22
Creating APIs in Nuxt with Daniel Roe
33:33
Просмотров 12 тыс.
Easily Add Authentication With Nuxt 3 + Supabase
14:23
The Untold Story of VS Code
12:42
Просмотров 10 тыс.
The NGINX Crash Course
50:53
Просмотров 486 тыс.
Don't Use Websockets (Until You Try This…)
6:46
Просмотров 300 тыс.
SvelteKit Authentication with Supabase
23:02
Просмотров 35 тыс.
Rendering modes with Nuxt 3 - Course part 13
13:42
Просмотров 12 тыс.