Skip to content

Conversation

enrico-kaack-comp
Copy link
Contributor

What this PR does / why we need it:
This PR changes how the OIDC information are served to the frontend.
Before, the frontend-config contained the backendUrl and the oidc config was loaded from the backend.
There is no reason for that, so this PR puts the oidc config in the frontend-config.json directly, saving one additional request.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

@enrico-kaack-comp enrico-kaack-comp changed the title move oidc config to frontend-config feature: move oidc config to frontend-config Apr 14, 2025
Copy link
Contributor

@andreaskienle andreaskienle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ Just some minor comments about naming. Overall, I really like it - much cleaner now!

Hope we can clean it up even more when we tackle the authentication for the MCP parts 💪

@andreaskienle andreaskienle self-assigned this Apr 14, 2025
Copy link
Contributor

@andreaskienle andreaskienle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really nice now with Zod! 🎉

Let's clean up those duplicate type definitions (TypeScript vs. Zod), and then we'll be good to go! 🚀

andreaskienle
andreaskienle previously approved these changes Apr 15, 2025
Copy link
Contributor

@andreaskienle andreaskienle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@enrico-kaack-comp enrico-kaack-comp merged commit 189f275 into main Apr 17, 2025
4 checks passed
@enrico-kaack-comp enrico-kaack-comp deleted the feature/oidc-config-change branch April 17, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants