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
On this page of the site you can watch the video online Setup custom authentication on GraphQL API with a duration of hours minute second in good quality, which was uploaded by the user Victor Iris 05 December 2021, share the link with friends and acquaintances, this video has already been watched 800 times on youtube and it was liked by 38 viewers. Enjoy your viewing!