Skip to content

[Bug]: Middleware not working when trying to get well-know configuration #392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
Quentin-Gillet opened this issue Mar 11, 2025 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working login Login Application

Comments

@Quentin-Gillet
Copy link

Quentin-Gillet commented Mar 11, 2025

Preflight Checklist

  • I could not find a solution in the documentation, the existing issues or discussions
  • I have joined the ZITADEL chat

Version

latest github commit

Describe the problem caused by this bug

When i tried to request this endpoint: http://localhost:3000/.well-known/openid-configuration.
This error appears: "Error: The edge runtime does not support Node.js 'zlib' module.
Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime"

On an other setup i have made i had the same issue but with the module "http2".
This error can't be bypassed.

To reproduce

Run the server with pnpm run dev and go to http://localhost:3000/.well-known/openid-configuration

Screenshots

Image

Expected behavior

No error and same content as if the request was made directly to zitadel.

Relevant Configuration

No response

Additional Context

No response

@Quentin-Gillet Quentin-Gillet added the bug Something isn't working label Mar 11, 2025
@muhlemmer muhlemmer added the login Login Application label Mar 14, 2025
@muhlemmer muhlemmer moved this to 🧐 Investigating in Product Management Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working login Login Application
Projects
Status: 🧐 Investigating
Development

No branches or pull requests

2 participants