Join Slack
Powered by
authentication resolvers... how to make them work?...
# prisma-whats-new
q
qsys
01/31/2018, 2:46 PM
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
fabien0102
01/31/2018, 4:09 PM
@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
qsys
02/01/2018, 9:04 AM
allright, thx! so, I need 2 tokens 😛. Got it.
qsys
02/01/2018, 9:41 AM
looks cool, btw, but I seem to have an issue with the
pify
node package...
2
Views
Open in Slack
Previous
Next