As you might know, there is no official next.js authentication example yet. It’s on the way, but the relevant issue has been open for about 5 months now, and a pull request has been put on hold.
In the last article we saw how one can use ooth as a standalone microservice (see the full example here). Your application client can then authenticate to ooth with any strategy, get a JWT in return, and use that to create a session with the actual…
A quick example with Apollo server for Express, mutations, MongoDB resolvers including support for nested queries in about 100 lines of code.
GraphQL documentation out there tends to focus on queries, less on mutations, less on defining a…