beta9 icon indicating copy to clipboard operation
beta9 copied to clipboard

Temporary auth token for file downloads

Open jsun-m opened this issue 1 year ago • 0 comments

Add temporary token for authenticating download requests directly from the browser.

Update to AuthMiddleware: Allow pass through for auth middle if authorization token is not specified. This means auth middleware mainly handles parsing and acquisition of user detail rather than authenticating. Authentication is moved to the auth wrappers instead (WithWorkspaceAuth and WithClusterAdminAuth). This was necessary to expose the DownloadFileWithToken to an unauthenticated route

jsun-m avatar May 23 '24 17:05 jsun-m