Custom authentication flow setup for a GraphQL API. Using Prisma, Nexus, Apollo Server and GraphQL shield. Explains how to handle access tokens and refresh tokens for signup, login and refreshing
part 1: • How to setup a GraphQL API with Apollo, Ne...
dependencies:
yarn add bcryptjs jsonwebtoken date-fns graphql-shield ms cookie-parser
yarn add -D @types/bcryptjs @types/jsonwebtoken @types/ms @types/cookie-parser
generic authentication utils:
https://gist.github.com/victoriris/a6...
source code:
https://github.com/victoriris/votes-app
Closed captions sponsored by Prisma. Get yours for free here: https://pris.ly/closedcaptions
Sur cette page du site, vous pouvez voir la vidéo en ligne Setup custom authentication on GraphQL API durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Victor Iris 05 décembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 800 fois et il a aimé 38 téléspectateurs. Bon visionnage!