Skip to content

feat : wxo oauth sso support#12917

Open
HimavarshaVS wants to merge 5 commits intorelease-1.10.0from
feature/wxo-oauth-sso-support
Open

feat : wxo oauth sso support#12917
HimavarshaVS wants to merge 5 commits intorelease-1.10.0from
feature/wxo-oauth-sso-support

Conversation

@HimavarshaVS
Copy link
Copy Markdown
Collaborator

Summary

Expose WXO OAuth tokens as global variables

  • Modified VariableService to automatically scan environment for OAuth tokens
  • Tokens ending with '_access_token' are auto-loaded as global variables
  • Creates both raw and Bearer-formatted versions for convenience
  • Enables automatic OAuth token injection for WXO connections

When WXO injects environment variables like 'github_oauth_access_token',
they become available as global variables in Langflow flows without
requiring any additional components or configuration.

Example usage:

  • Raw token: service.get_variable('github_oauth_access_token')
  • Bearer token: service.get_variable('github_oauth_bearer_token')"
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 28, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 32e01ede-c419-47f6-be55-90848c34eefa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/wxo-oauth-sso-support

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@HimavarshaVS HimavarshaVS changed the base branch from main to release-1.10.0 April 28, 2026 19:45
@github-actions
Copy link
Copy Markdown
Contributor

Migration Validation Passed

All migrations follow the Expand-Contract pattern correctly.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

Build successful! ✅
Deploying docs draft.
Deploy successful! View draft

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.17%. Comparing base (9b11f5a) to head (401c9c1).

Files with missing lines Patch % Lines
src/lfx/src/lfx/services/variable/service.py 33.33% 6 Missing and 2 partials ⚠️

❌ Your patch check has failed because the patch coverage (33.33%) is below the target coverage (40.00%). You can increase the patch coverage or adjust the target coverage.
❌ Your project check has failed because the head coverage (49.73%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           release-1.10.0   #12917      +/-   ##
==================================================
- Coverage           53.87%   53.17%   -0.70%     
==================================================
  Files                2051     2051              
  Lines              187230   187242      +12     
  Branches            26578    28123    +1545     
==================================================
- Hits               100863    99563    -1300     
- Misses              85256    86567    +1311     
- Partials             1111     1112       +1     
Flag Coverage Δ
backend 57.12% <ø> (+0.03%) ⬆️
frontend 53.03% <ø> (-1.03%) ⬇️
lfx 49.73% <33.33%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/lfx/src/lfx/services/variable/service.py 78.04% <33.33%> (-18.51%) ⬇️

... and 171 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

Frontend Unit Test Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 36%
36.22% (42132/116296) 67.85% (5785/8526) 36.27% (970/2674)

Unit Test Results

Tests Skipped Failures Errors Time
4095 0 💤 0 ❌ 0 🔥 8m 59s ⏱️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant