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
Auf dieser Seite können Sie das Online-Video Setup custom authentication on GraphQL API mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Victor Iris 05 Dezember 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 800 Mal angesehen und es wurde von 38 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!