lively-scientist-17848
05/22/2023, 11:04 AM@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?