Implicit / Automatic Login with NextJS and GraphQL

preview_player
Показать описание
Many people wonder how they can keep users logged into their site and show them personalized information on an initial request. In this video we do just that, using GraphQL and NextJS.

🔗 Links
Series Playlist:

👨‍💻 Code

📲 Connect with me
Рекомендации по теме
Комментарии
Автор

the best video up to date about NextJS Typescript Apollo GraphQL !

mediacreatif
Автор

Thank you so much for this high quality video man! Amazing. Your tutorials are like hidden gem in Youtube Tech world. Please keep uploading fullstack Typescript stuffs, it's very helpful. Thanks again.

annusingh
Автор

Fantastic! There's nothing out there of this quality and or this upto date. A⭐ 👍🏾

stevereid
Автор

Just wondering why you're using a try catch block again, seeing as you removed it from the other resolvers?

stevereid
Автор

Hi dear, can you explain to me why Login is a type of mutation and why ImplicitLogin is a type of query ? Mutations are used when changes are made in a database, isn't it ?

mediacreatif
Автор

the type of my "req" request is like that :

(IncomingMessage & {
cookies: Partial<{
[key: string]: string;
}>;


instead of yours which is :

(IncomingMessage & {
cookies: NextApiRequestCookies;
});

Do you know where I made a mistake ? Thanks.

mediacreatif
Автор

"Expected undefined to be a GraphQL schema." - Apollo error :(

reznor_prompt