Skip to content

Commit 3283215

Browse files
Update use-blazor-report-viewer-with-rs-net.md (#1910)
* Update use-blazor-report-viewer-with-rs-net.md * Update html5-report-viewer-with-report-server-net.md
1 parent 77c8187 commit 3283215

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

embedding-reports/display-reports-in-applications/web-application/blazor-report-viewer/use-blazor-report-viewer-with-rs-net.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Using the Blazor Report Viewer with Report Server for .NET
2+
title: Using with Report Server for .NET
33
page_title: Connect the Telerik Reporting Blazor Report Viewer with Report Server for .NET
44
description: "Learn how the Telerik Reporting Blazor HTML5 Report Viewer can work with the Report Server for .NET."
55
slug: use-blazor-report-viewer-with-rs-net
@@ -122,7 +122,7 @@ app.MapGet("/rs-token", (HttpContext context) =>
122122

123123
### Username and Password Authentication
124124

125-
>tip We recommend avoiding this approach for security reasons.
125+
>caution Avoid this approach for security reasons.
126126
127127
If you prefer to use hardcoded credentials, use the following snippet to place the viewer component in a Razor page like `Pages/Index.razor`.
128128

embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/html5-report-viewer-with-report-server-net.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ reportServer: {
3939
4040
Substitute the `https://yourReportServerUrl:port` with the actual url of your Report Server for .NET instance, along with the port if needed.
4141
42-
(__recommended__) The `reportServer.getPersonalAccessToken` option should be set to a function returning the Token of the user who is logging in to the Report Server for .NET wrapped in a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). Here is a sample implementation that relies on a dedicated secure endpoint '/rs-token' to return the token:
42+
To authenticate against the Report Server for .NET you have the following options:
43+
44+
* (__recommended__) The `reportServer.getPersonalAccessToken` option should be set to a function returning the Token of the user who is logging in to the Report Server for .NET wrapped in a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). Here is a sample implementation that relies on a dedicated secure endpoint '/rs-token' to return the token:
4345
4446
````JavaScript
4547
reportServer: {
@@ -62,7 +64,7 @@ app.MapGet("/rs-token", (HttpContext context) =>
6264
````
6365
6466
65-
(_not recommended_) Alternatively, you may use a hardcoded username and password instead of Token authentication. We do not recommend this for security reasons:
67+
* (_not recommended_) Alternatively, you may use a hardcoded _username_ and _password_ instead of Token authentication. We do not recommend this for security reasons:
6668
6769
````JavaScript
6870
reportServer: {

0 commit comments

Comments
 (0)