Hey team, anyone has Keto configured on a nextjs project? I’ve tried configuring it using the next-e...
s
Hey team, anyone has Keto configured on a nextjs project? I’ve tried configuring it using the next-edge, integration, without success.
oh. ory_sdk_url points to Kratos url (
ORY_SDK_URL=<http://localhost:4433/>
). I guess that answers my question.
Or there’s another env that I can set to make it work with Keto?
Nvm, I’ve checked the source code of the handler. it’s kratos specific
m
Hey Kado, that is correct, the example is just for authentication. What use case did you want to test out on Nextjs? See the Keto sdk examples: https://www.ory.sh/docs/keto/sdk/go We also have a few examples for Keto here, let me know if that helps. (The community examples might be a bit outdated though..)
s
I’ve managed to get it working. Thanks. I was trying to set it up like kratos, to use nextjs api.