Skip to content

How can I authenticate using prismaclient? #1917

Answered by 2color
yuripramos asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @yuripramos 👋🏼,

I suggest you look at the GraphQL example with authentication.

To implement authentication with Prisma, you generally use Prisma to store and get permissions from the database. The actual authentication logic is either handled by you in the request handler, the framework, or a plugin like https://github.com/maticzav/graphql-shield.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@yuripramos
Comment options

Answer selected by yuripramos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants