Skip to content

feat: use account to decide oauth type of a destination #5810

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
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ItsSudip
Copy link
Member

@ItsSudip ItsSudip commented May 5, 2025

Description

We are introducing new way to checking oauth type of a destination. We are using account to detect oauth.

Linear Ticket

https://linear.app/rudderstack/issue/INT-3563/drive-the-oauth-flow-based-on-accounts-information-rather-than

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

Copy link

codecov bot commented May 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.96%. Comparing base (fbc4abe) to head (bf5bfd8).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5810      +/-   ##
==========================================
+ Coverage   76.90%   76.96%   +0.05%     
==========================================
  Files         491      491              
  Lines       67183    67199      +16     
==========================================
+ Hits        51667    51717      +50     
+ Misses      12692    12661      -31     
+ Partials     2824     2821       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines +26 to +28
if err != nil {
return false, err
}
Copy link
Member

Choose a reason for hiding this comment

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

Have a test for this case

Copy link
Member

Choose a reason for hiding this comment

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

Maybe mock misc.NestedMapLookup to throw error

@ItsSudip ItsSudip requested a review from utsabc May 5, 2025 09:47
@ItsSudip ItsSudip self-assigned this May 5, 2025
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