LauraXia123 opened a new issue, #14957:
URL: https://github.com/apache/gravitino/issues/14957

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   When the Gravitino server is configured with basic authentication, the 
/configs endpoint also requires authentication. During the initial bootstrap, 
the frontend calls /configs to determine the auth type, but since authType is 
not yet known, the request goes out without credentials and receives a 401. The 
axios response interceptor then redirects to /login before authType is ever 
persisted, causing the login page to show an indefinite spinner instead of the 
BasicLogin component.
   
   ### Error message and/or stacktrace
   
   N/A
   
   ### How to reproduce
   
   1. Start Gravitino with Basic Authentication enabled.
   2. Clear the browser’s local and session storage.
   3. Open the frontend and check the /configs request in the Network tab.
   4. Confirm that the request has no Authorization header.
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to