codeant-ai-for-open-source[bot] commented on PR #38606:
URL: https://github.com/apache/superset/pull/38606#issuecomment-4052985266

   ## **Sequence Diagram**
   
   This PR enables the frontend to support SAML auth by consuming SAML 
providers from bootstrap config and rendering provider login buttons. It also 
ensures federated SAML flow works end to end by skipping recaptcha in bootstrap 
config and exempting the SAML ACS callback from CSRF checks.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant LoginPage
       participant Backend
       participant IdP
   
       User->>LoginPage: Open sign in page
       LoginPage->>Backend: Request bootstrap auth config
       Backend->>Backend: Build SAML auth config and skip recaptcha
       Backend-->>LoginPage: Return auth type and provider list
       LoginPage-->>User: Render SAML provider buttons
       User->>Backend: Start SAML login with selected provider
       IdP->>Backend: Post SAML response to ACS endpoint
       Backend-->>User: Accept callback and complete login
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to