Skip to content

feat(ENG-1065): oauth flow#3

Merged
adefreitas merged 4 commits into
mainfrom
oauth-flow
Aug 5, 2025
Merged

feat(ENG-1065): oauth flow#3
adefreitas merged 4 commits into
mainfrom
oauth-flow

Conversation

@adefreitas

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings August 5, 2025 16:26
@adefreitas

Copy link
Copy Markdown
Collaborator Author

will 🤠 and push to main

@adefreitas adefreitas closed this Aug 5, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements OAuth2 flow support for the integration picker, adding the ability to handle OAuth2 authentication in addition to existing custom authentication methods.

  • Adds OAuth2 authentication type support with popup window handling
  • Introduces message-based communication between parent and OAuth popup windows
  • Adds new dashboardUrl configuration to support OAuth callback URLs

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/modules/integration-picker/types.ts Adds type field to connector config for authentication method identification
src/modules/integration-picker/hooks/useIntegrationPicker.ts Implements OAuth2 flow logic, popup window management, and message event handling
src/modules/integration-picker/components/IntegrationFields.tsx Updates field key handling to support object-type keys with JSON stringification
src/modules/integration-picker/IntegrationPicker.tsx Passes through dashboardUrl prop and adjusts connector data access
src/StackOneHub.tsx Adds appUrl prop and derives dashboardUrl with default fallback
dev/main.tsx Adds development environment support for appUrl configuration

Comment thread src/modules/integration-picker/hooks/useIntegrationPicker.ts Outdated
Comment thread src/modules/integration-picker/hooks/useIntegrationPicker.ts
Comment thread src/modules/integration-picker/components/IntegrationFields.tsx
Comment thread src/modules/integration-picker/hooks/useIntegrationPicker.ts
@adefreitas adefreitas reopened this Aug 5, 2025
@adefreitas adefreitas merged commit 28afa1a into main Aug 5, 2025
2 checks passed
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.

3 participants