Integrate Nile Auth with Next.js applications
Install packages
Configure routes
next/headers
), as well passing the correct headers on server-side calls automatically.@niledatabase/react
will request information client side. If you’d like to hydrate them, @niledatabase/server
functions can be called.
nile.users.verifySelf
mirrors the client-side call to /api/auth/verify-email
. All server side calls can be called from a client based on their configured route.@niledatabase/react
which can do a lot of the heavy lifting for you, especially when it comes to client-side authorization, or quickly getting a demo app up and running.
@niledatabase/client
to handle the rest