diff --git a/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts b/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts index f72370f..814ac4a 100644 --- a/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts +++ b/Angular 14/src/app/dashboard-listing/dashboard-listing.component.ts @@ -70,9 +70,7 @@ export class DashboardListing implements OnInit { width:"100%", height:"100%", expirationTime:100000, - authorizationServer: { - url:this._appComponent.apiHost + this._appComponent.authorizationUrl - } + token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkxNTQyNjOTk0L2JpL3NpdGUiJodHRwOi8R0ZPLNhUkhy9ddoidiqlE915obE" // This must be your unique user access token }); this.dashboard.loadDashboard(); diff --git a/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts b/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts index 436219e..fa535f3 100644 --- a/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts +++ b/Angular-with-ASP.NETCore/ClientApp/src/app/dashboard-listing/dashboard-listing.component.ts @@ -69,9 +69,7 @@ export class DashboardListing implements OnInit { width:"100%", height:"100%", expirationTime:100000, - authorizationServer: { - url:this._appComponent.apiHost + this._appComponent.authorizationUrl - } + token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkxNTQyNjOTk0L2JpL3NpdGUiJodHRwOi8R0ZPLNhUkhy9ddoidiqlE915obE" // This must be your unique user access token }); console.log(this.dashboard);