how can i use ory with hasura and next.js?
# ory-copilot
f
how can i use ory with hasura and next.js?
s
you have to mention @chilly-king-10285
c
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. Please provide more context or a specific question about Ory, and I'll do my best to help you based on the information extracts provided.
s
@chilly-king-10285 how can i use ory with hasura and next.js?
c
A message from kapa.ai
To use Ory with Hasura and Next.js, you'll need to integrate Ory's authentication into your Next.js application and then configure Hasura to use Ory for authentication. Here's a high-level overview of the process: 1. Integrate Ory authentication into Next.js: Follow the instructions in the [Next.js integration guide](https://www.ory.sh/docs/getting-started/integrate-auth/nextjs) to set up Ory authentication in your Next.js application. This includes installing the necessary packages, setting up the API route, and configuring your environment variables. 2. Configure Hasura to use Ory for authentication: You'll need to set up Hasura to use Ory as the authentication provider. This typically involves configuring Hasura to use JWT tokens issued by Ory and setting up the necessary environment variables. Unfortunately, the provided extracts do not contain specific information on integrating Ory with Hasura. However, you can refer to the [Hasura documentation on authentication](https://hasura.io/docs/latest/graphql/core/auth/authentication/index.html) and the [Ory documentation](https://www.ory.sh/docs) to get more information on how to set up this integration.