HI.
Is there a way to inject to the client that performs the file upload a bearer token so we can authenticate the call in the Backend API?
Thanks in advance
HI.
Is there a way to inject to the client that performs the file upload a bearer token so we can authenticate the call in the Backend API?
Thanks in advance
Hi @dimilio,
At the moment this is not possible. We decided to implement it though as it is an important requirement. The feature will be live with the next Radzen.Blazor update.
Thank you very much! Really appreciate your fast answer.
HI @dimilio,
Support for custom HTTP headers has been implemented in the latest Radzen.Blazor version. Here is how to use it:
<RadzenUpload>
<RadzenUploadHeader Name="Authorization" Value="Bearer <token>" />
<RadzenUploadHeader Name="X-Uploaded-By" Value="Radzen" />
</RadzenUpload>
If speed is a feature, your library is feature complete! 