I am working on an application that uses reaction and relays, and now I'm stuck in implementing authentication.
I know that you can pass a value to each graphql query through the context available in GraphQL to solve problems.
I am more confused by what I need to go through and how.
Is it better to use a JSON Web token, passport, something else? And how to pass the identifier for the user?
Basically, what I'm asking is What is best for Relay: jwt, passport, something else? And how to connect it to the relay. Thank you
source
share