Good morning folks, any good resources on how to i...
# orm-help
a
Good morning folks, any good resources on how to implement authentication and authorization using graphql-yoga, prisma API and GraphQL? Help a hungry newbie for success with this stack! @schickling @Harshit @marcus
j
I'll recommend looking up GraphQL-Shield. You can then create an Auth action and protect only the paths you're interested in protecting. As for authentication, that's something I'd just do with a query action in the resolver. Works both if you hold the data yourself locally or if it's external (e.g. Auth0).
👍 1
a
Thanks @Jenkins
j
No worries fam. If you're stuck, just holla at me 🦜
🙌 1
💚 1
a
Awesome