Hi, I’m trying to get Oauth working with a next.j...
# ory-network
l
Hi, I’m trying to get Oauth working with a next.js app for local development. I’ve been using
@ory/integrations/next-edge
to handle proxying Ory cloud locally to avoid CORS issues. This has worked fine with our integration with Ory Identities. I’m now having trouble getting this to work with Hydra as the proxied openid discovery endpoint (
.well-known/openid-configuration
) returns relative paths for the Authorization and Token endpoints in this configuration. This causes issues with the OIDC library we are using to obtain tokens (
react-oidc-context
). Is there a known good configuration for doing Oauth with Ory and next.js with ``@ory/integrations/next-edge` that I can use here?