Nuxt 3 + Authentication:  How To Add Auth To A Nuxt App in Minutes with Amplify!

Nuxt 3 + Authentication: How To Add Auth To A Nuxt App in Minutes with Amplify!

Program With Erik

1 год назад

18,194 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Program With Erik
Program With Erik - 05.12.2022 00:10

What do you want to see next?

Ответить
King Nikolas
King Nikolas - 23.06.2023 13:01

Can we get a Cognito tutorial without Amplify or at least without the Amplify magic? I think that would be interesting to people who don't use Amplify.

Ответить
Rich Coleman
Rich Coleman - 20.05.2023 07:50

I'm confused how I check a user's auth status while in the server-side code of nuxt. With Supabase, you just pass in the `event` param from the defineEventHandler to the serverSupabaseUser function like this: await serverSupabaseUser(event). Can't figure out a way to do this in Amplify Auth.

Ответить
Rich Coleman
Rich Coleman - 01.05.2023 21:59

Wow - this was extremely painful to get all the pieces in place and I still couldn't get it to fully work (login displayed but couldn't create new accounts). Our company is 100% AWS so I was really hoping to get this wired up into my new small Nuxt 3 app but I kept getting stuck saying "did you run amplify push auth yet?" or something along those lines. I'm sure it's my fault missing something minor but as a sanity check, I wired Supabase up in a few minutes with no issues at all and there was no crazy 14+ terminal config commands you needed to do like with Amplify. I tried with Amplify like 4 times from scratch. Did you skip over a bunch? Because mine required a lot more steps than what you showed.

Ответить
Cam H
Cam H - 04.04.2023 23:08

I'm still getting window is not defined even with the appropriate nuxt.config.ts modifications. Any ideas?

Ответить
yuki katayama
yuki katayama - 19.03.2023 16:34

very thx!

Ответить
David Diaz Fernandez
David Diaz Fernandez - 12.01.2023 20:58

Does Amplify support Nuxt 3 with SSR and api routes? How should this be done?

Ответить
Alex Kacijan
Alex Kacijan - 21.12.2022 13:17

aws cognito with nuxt-auth module

Ответить
VELIX
VELIX - 19.12.2022 06:34

Thank yoy!
What about authentication with metamask sign message & email and supabase

Ответить
John Wanyoike
John Wanyoike - 08.12.2022 07:33

Please do a JWT auth with different strategies e.g for admin and normal user

Ответить
Daniel Sánchez
Daniel Sánchez - 07.12.2022 22:02

this is so helpful, thank you very much !

Ответить
Sébastien Chopin
Sébastien Chopin - 07.12.2022 12:11

Thank you for your videos Erik!

Ответить
kissu
kissu - 06.12.2022 06:37

Hot topic as of right now (seeing people struggling daily with auth) since the official module is not out yet.

Ответить
Денис Куликов
Денис Куликов - 05.12.2022 22:00

Привет

Ответить
James Baddiley
James Baddiley - 05.12.2022 17:49

Great to see you back Eric - your content is the best Vue stuff out there.

Ответить
Tevin Rivera
Tevin Rivera - 05.12.2022 16:16

This is perfect timing!!! I was just starting a next project that needs auth. Great content Erik!

Ответить
HeangLeng Taing
HeangLeng Taing - 05.12.2022 16:14

Always love your sharing! a moment ago I visited nuxt module and I saw Nuxt-Auth for Nuxt 3 just come out. It's good that you can explore. Nice Job 👍

Ответить
Cristian
Cristian - 05.12.2022 16:09

I love your Nuxt3 content man, keep it up the good work! Thank you so much

Ответить