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
En esta página del sitio puede ver el video en línea Setup custom authentication on GraphQL API de Duración hora minuto segunda en buena calidad , que subió el usuario Victor Iris 05 diciembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 800 veces y le gustó 38 a los espectadores. Disfruta viendo!