Skip to content

feat: Saas redirect for Langflow and logout#1293

Merged
mfortman11 merged 2 commits into
release-saas-0.1from
saasLFredirect
Mar 27, 2026
Merged

feat: Saas redirect for Langflow and logout#1293
mfortman11 merged 2 commits into
release-saas-0.1from
saasLFredirect

Conversation

@mfortman11

Copy link
Copy Markdown
Contributor

This pull request adds support for deriving the correct Langflow URL in IBM SaaS environments and updates the authentication and logout logic accordingly. The changes ensure that users in IBM auth mode are directed to the correct Langflow instance and that logout behavior is consistent with authentication modes.

IBM SaaS Langflow URL derivation:

  • Added a new utility function deriveCloudLangflowUrl in url-utils.ts to generate the appropriate Langflow URL for IBM SaaS deployments by transforming the current OpenRAG URL.
  • Updated settings/page.tsx to use deriveCloudLangflowUrl when in IBM auth mode, ensuring the correct Langflow URL is used in the UI. [1] [2]

Authentication logic updates:

  • Extended the useAuth hook in settings/page.tsx to include isIbmAuthMode, enabling conditional logic based on IBM authentication.
  • Modified the logout function in auth-context.tsx to allow logout only when not in no-auth mode, removing the IBM auth mode restriction for consistency.

@github-actions github-actions Bot added community frontend 🟨 Issues related to the UI/UX enhancement 🔵 New feature or request and removed community labels Mar 27, 2026

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions Bot added the lgtm label Mar 27, 2026
@edwinjosechittilappilly edwinjosechittilappilly changed the title feat: Saas redirect for Edit in Langflow and logout functionality feat:Saas redirect for Edit in Langflow and logout functionality Mar 27, 2026
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 27, 2026
@edwinjosechittilappilly edwinjosechittilappilly changed the title feat:Saas redirect for Edit in Langflow and logout functionality feat :Saas redirect for Edit in Langflow and logout functionality Mar 27, 2026
@edwinjosechittilappilly edwinjosechittilappilly changed the title feat :Saas redirect for Edit in Langflow and logout functionality feat: Saas redirect for Langflow and logout Mar 27, 2026
@github-actions github-actions Bot added enhancement 🔵 New feature or request and removed enhancement 🔵 New feature or request labels Mar 27, 2026
@mfortman11 mfortman11 enabled auto-merge March 27, 2026 21:00
@mfortman11 mfortman11 merged commit dbd8fe0 into release-saas-0.1 Mar 27, 2026
14 of 17 checks passed
@github-actions github-actions Bot deleted the saasLFredirect branch March 27, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🔵 New feature or request frontend 🟨 Issues related to the UI/UX lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants