Skip to content

Add enhanced authentication to support additional auth flows#341

Merged
dustins merged 41 commits intodevelopfrom
enhancement/auth
Jan 22, 2026
Merged

Add enhanced authentication to support additional auth flows#341
dustins merged 41 commits intodevelopfrom
enhancement/auth

Conversation

@dustins
Copy link
Contributor

@dustins dustins commented Jan 22, 2026

Summary
This PR introduces a Backend for Frontend (BFF) authentication architecture that abstracts IdP integration from the frontend SPA, addressing a key integration pain point for current and prospective customers.

Problem: MLSpace currently supports only PKCE-based OIDC authentication, preventing integration with IdPs that exclusively use OIDC flows requiring backend secrets. This limitation has created friction for customers and blocks future integrations with SAML-only IdPs.

Solution
The new BFF pattern moves authentication logic to the backend, creating an extensible architecture that:

  • Provides a simplified, protocol-agnostic authentication API for the frontend
  • Enables support for secret-based OIDC flows
  • Maintains compatibility with existing PKCE authentication
  • Establishes a foundation for future IdP integrations

Changes include:

  • Backend API modifications to handle authentication flows server-side
  • Frontend updates to consume the new abstracted authentication API
  • New authentication flow connecting frontend and backend components

This enhancement removes IdP and protocol-specific dependencies from the frontend, significantly improving MLSpace's flexibility for customer integrations.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor Author

@dustins dustins left a comment

Choose a reason for hiding this comment

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

initial review complete

Copy link
Contributor Author

@dustins dustins left a comment

Choose a reason for hiding this comment

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

completed second review

@dustins dustins marked this pull request as ready for review January 22, 2026 13:52
@dustins dustins changed the title Add Backend for Frontend (BFF) authentication pattern to support additional auth flows Add enhanced authentication to support additional auth flows Jan 22, 2026
@dustins dustins merged commit c2e5d9e into develop Jan 22, 2026
9 checks passed
@dustins dustins deleted the enhancement/auth branch January 22, 2026 16:30
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.

1 participant