Open moggoly opened 4 years ago
Hello,
Recently we also introduced the onRequest
parameter of the reportService
option for JSViewer:
https://www.grapecity.com/activereports/docs/v14/online/using-js-viewer.html
It allows supplying any information within the request, including any authorization method.
Handling the auth token on the server side depends on what exactly you would like to achieve. If you would like to prevent unauthorized users from viewing a report, then the method described in the following article might be helpful
https://www.grapecity.com/blogs/using-asp-dot-net-core-middleware-to-add-analytics-to-activereports-javascript-vewer-based-applications
Hi,
We're considering purchasing ActiveReports.NET for use within our Angular/Vue app with a .NET Core backend. It's been hard to track down, but I see there is support for including a security token from the JSViewer side, but I can't see any documentation or sample code showing how that token is handled on the backend. Would it be possible for a sample to be included or a snippet showing how this is done? We will probably be using a JWT for the token, but need to see how this can be verified.
Thanks.