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
In questa pagina del sito puoi guardare il video online Setup custom authentication on GraphQL API della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Victor Iris 05 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 800 volte e gli è piaciuto 38 spettatori. Buona visione!