WARN BROCKEN
This commit is contained in:
parent
0936afb9ad
commit
7b9d4b279a
5 changed files with 25 additions and 18 deletions
|
|
@ -44,7 +44,7 @@ namespace testOauthClient.Controllers
|
|||
|
||||
var client = new HttpClient();
|
||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);
|
||||
var content = await client.GetStringAsync("https://localhost:6001/api/account/me");
|
||||
var content = await client.GetStringAsync("https://localhost:6001/identity");
|
||||
|
||||
ViewBag.Json = content;
|
||||
return View("json");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue