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

   ## **Sequence Diagram**
   
   This PR fixes authentication navigation when Superset is deployed under a 
subpath. Login, OAuth provider, register, and activation success links are 
generated with app root awareness, while logout now uses the backend-provided 
URL directly to avoid double prefixing.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant Frontend
       participant PathUtils
       participant Backend
       participant OAuthProvider
   
       User->>Frontend: Open login page
       Frontend->>PathUtils: Build app root aware auth links
       PathUtils-->>Frontend: Return prefixed login register provider links
       User->>Frontend: Click sign in with provider
       Frontend->>Backend: Request oauth login endpoint
       Backend-->>OAuthProvider: Redirect to provider auth flow
       User->>Frontend: Click logout in right menu
       Frontend->>Backend: Navigate to backend logout URL without extra prefix
   ```
   
   ---
   *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