authentication resolvers... how to make them work?...
# prisma-whats-new
q
authentication resolvers... how to make them work? I followed this guide: https://github.com/graphcool/templates/tree/master/auth/auth0 , but for now, authentication doesn't work as I expect, so I must be missing something... For a more detailed description: https://www.graph.cool/forum/t/auth0-rs256-authentication-how/2388 . What am I missing (or, how do I attach a resolver to any query or mutation, optionally with a few exceptions)?
f
@qsys Just reply of the forum 😉 I sent you my old example (3 months ago) but it can help you to understand how it's works 😉
q
allright, thx! so, I need 2 tokens 😛. Got it.
looks cool, btw, but I seem to have an issue with the
pify
node package...