GraphQL JWT Authentication Implementation

preview_player
Показать описание
Learn how to do JWT authentication in GraphQL.

Links from video:

----

----

----

----
Follow Me Online Here:

#benawad

----
#benawad
Рекомендации по теме
Комментарии
Автор

I've been looking for this tutorial for days now! Thanks Ben!!! This one helped me pull myself out of the hell

ApurvJyotirmay
Автор

Very nice video. Thanks for your time.

HillaryMutunga
Автор

Nicely done.. Kudos man. Your voice is also nice with really cool accent.

nbaua
Автор

Is it ok to store both the refresh token and the access token in the same way ? then what's the point of even using two tokens ?

shassan
Автор

hi Ben, thank you for your videos ! jwt.sign takes as parameters {
expiresIn: '1h' }

AbdeltifBouziane
Автор

Hi Ben, I have a question regarding tokens. Why is it that for the register mutation you didn't return a token as you did with the login mutation? Wouldn't you want the user have a token after registering to access authenticated routes? This part always confused me because I have always seen people return a token upon registering while others don't.

Alexfan
Автор

straight forward video, thanks. I am a converted node/javascript coder, i am learning dart/flutter right now and there is a lot of cross over code, but theres a lack of community support for dart/flutter at the moment, its growing but nowhere near the amount of support of say typescript/javascript/node etc. you might answer this in your next video, but how would you go about implementing the refresh token within the try catch? would that be prompting the client to send their old token to get a newer one or would it be throwing the client a prompt to resubmit their login cred? thanks

matthewslaton
Автор

Hi Ben, I'm not sure where you explain what user.count attribute does and why you added it?

biomazi
Автор

What are the benefits of combining JWT and cookies? As opposed to storing them in local storage and sending them with each request?

HoomanAskari
Автор

Hi Ben, I was wondering is the main benefit doing it this way over sessions just that you don't hit the database as much or are there other benefits of this over sessions?? would you prefer this over sessions on your production apps??

DrPanesar
Автор

Hey Ben! I need a tutorial with node, graphql, jwt and Ms Sql Server. Any help?

jorgevilasboas
Автор

Too high Ben but awesome as always GBU

akhedy
Автор

anyone know how to use django graphql social auth library?

claritySenter
Автор

Oh sr i must see what video about prepare for this tutorial

minhhieu
Автор

How do you have autocomplete setup in your terminal?

codyelhard
welcome to shbcf.ru