Custom authentication token in HTML5 viewer Q1 2016

2 posts, 0 answers
  1. Dennis
    Dennis avatar
    1 posts
    Member since:
    Aug 2015

    Posted 09 Feb Link to this post


    In the release history i have just seen that there is now support for custom authentication token in HTML5 viewers available. How to set the authentication token? Are any examples out there?


    Thanks for your help. :)

  2. Nasko
    Nasko avatar
    909 posts

    Posted 09 Feb Link to this post

    Hello Dennis,

    You can set the authentication token through the report viewer options.

    HTML5 Report Viewer:
    <script type="text/javascript">
        $(document).ready(function () {
                    serviceUrl: "api/reports/",
                    authenticationToken: "myAuthToken",

    MVC Report Viewer:

    HTML5 Report Viewer for WebForms:
    this.reportViewer1.AuthenticationToken = "myAuthToken";

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top