feat: allow customizing oidc scope per integration#7441
Conversation
Summary of ChangesHello @XiNiHa, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces the capability to define and manage custom OIDC scopes for each integration. This enhancement provides greater flexibility in controlling the specific permissions and information requested during the OpenID Connect authentication flow, allowing administrators to tailor integrations more precisely to their security and data requirements. The changes span the database, API, and user interface to ensure full support for this new feature. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@graphql-hive/apollo |
0.46.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/cli |
0.57.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/core |
0.19.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/envelop |
0.40.1-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
@graphql-hive/yoga |
0.46.1-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
hive |
8.14.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
hive-apollo-router-plugin |
2.3.6-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
hive-console-sdk-rs |
0.2.3-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b |
npm ↗︎ unpkg ↗︎ |
📚 Storybook DeploymentThe latest changes are available as preview in: https://pr-7441.hive-storybook.pages.dev |
There was a problem hiding this comment.
Code Review
This pull request introduces the ability to customize the OIDC scope for each integration. The changes span across the database with a new migration, the backend API to handle the new scope field including validation, and the frontend to allow users to configure it. The implementation is solid. I've added a couple of suggestions to improve error handling in the backend validation and to refactor some duplicated code in the frontend for better maintainability.
💻 Website PreviewThe latest changes are available as preview in: https://pr-7441.hive-landing-page.pages.dev |
|
🐋 This PR was built and pushed to the following Docker images: Targets: Platforms: Image Tag: |
43cdf5b to
caa5345
Compare
06aee44 to
31f48a9
Compare
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
n1ru4l
left a comment
There was a problem hiding this comment.
Added some comments and also accompanying review https://guild-oss.slack.com/archives/C03AQ477ECF/p1766162415309599?thread_ts=1766158269.204989&cid=C03AQ477ECF
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Background
Closes #7355
Description
This PR includes a DB migration that adds a column for storing customized OIDC scope per each integration, and the ability to customize it from the console.
Checklist