I\'ve been building a SPA with Angular 4 on the front end and ASP.NET Core 2 on the Backend. Basically, I\'m trying to automatically renew an user login, given a valid token. Wh
Use .toPromise on your observable followed by async/await.
.toPromise
async/await
await this.net.get(`Authentication/GetUser`).toPromise();