How do I include a bearer/access token?

4 posts, 1 answers
  1. SL
    SL avatar
    27 posts
    Member since:
    Jul 2009

    Posted 13 May Link to this post

    I'm testing the Upload component and I'm using bearer tokens on my APIs.  How do I include the bearer token in the TelerikUpload component?

     

    Thanks.

  2. Answer
    SL
    SL avatar
    27 posts
    Member since:
    Jul 2009

    Posted 13 May Link to this post

    Oops, I found the events doc so I'm going to try it first.

     

    https://docs.telerik.com/blazor-ui/components/upload/events

     

  3. SL
    SL avatar
    27 posts
    Member since:
    Jul 2009

    Posted 13 May Link to this post

    Okay, this warrants a question.  The UploadHandler works when attaching auth tokens.

     

    Howerver, clicking the retry icon when the upload fails does not fire the UploadHandler so no auth tokens is getting sent to the server.  Is there another event where the retry should be handled?

  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5325 posts

    Posted 13 May Link to this post

    Hi,

    I made the following public page where you can Follow a fix for this issue: https://feedback.telerik.com/blazor/1465957-the-retry-button-does-not-fire-onupload-and-you-can-t-attach-auth-tokens.

     

    Regards,
    Marin Bratanov
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top