Under Review
Last Updated: 04 Feb 2026 14:06 by Gilmar
Gilmar
Created on: 28 Jan 2026 21:02
Category: Reporting
Type: Feature Request
0
Set Login Promise HTML5 Report Viewer

Hi, our project uses the Telerik Report Service with Asp .NET Core with Keycloak as Session Provider, every time the user tries to use an Report, after some time, he gets  Unauthorized error.

To solve this I've implemented a way to specify the login promise (that is called before each request) when starting the HTML5 Report Viewer.

 

What if it becomes an native feature?

 

 

3 comments
Gilmar
Posted on: 04 Feb 2026 14:06

It is similar to the reportServer.getPersonalAccessToken option available in newer versions, but designed for the Report Service.

Instead of replacing the serviceUrl string, it replaces the service object itself:
{ url?: string, getPersonalAccessToken?: Promise }.

This promise redirects the login() call to Keycloak, which manages the session using cookies configured with HttpOnly=true and SameSite=Strict for security reasons. Because of this, it is not possible to adjust the request headers via JavaScript.
Note that the promise also handles the refresh token. After that, the Report Service application will query Keycloak to determine whether the session stored in the cookies is still active.

ADMIN
Dimitar
Posted on: 04 Feb 2026 13:38

Hello Gilmar,

Thank you for the request!

Could you please elaborate, preferably with a small example, on what you have implemented in your scenario, and how you would like it exposed in the HTML5 Report Viewers?

If the problem is solved by adjusting the request headers, please note that we have a similar request that has been approved -  Allow adding custom headers to requests from the report viewers that use Reporting REST Service.

I look forward to your response.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Gilmar
Posted on: 03 Feb 2026 18:51
I've created in the wrong section, it is about Reporting, not Report Server.