Skip to content

Commit 182708c

Browse files
update API URL
1 parent f38083e commit 182708c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iOSClient/iOSClient/ViewController.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async void CallApiButton_TouchUpInside (object sender, EventArgs e)
5757
return;
5858
}
5959

60-
var result = await _apiClient.GetAsync ("identity");
60+
var result = await _apiClient.GetAsync ("test");
6161

6262
var content = await result.Content.ReadAsStringAsync ();
6363

@@ -93,7 +93,7 @@ async void HandleCallback (string url)
9393

9494
_apiClient = new HttpClient ();
9595
_apiClient.SetBearerToken (result.AccessToken);
96-
_apiClient.BaseAddress = new Uri ("https://api.identityserver.io");
96+
_apiClient.BaseAddress = new Uri ("https://demo.identityserver.io/api/");
9797

9898
CallApiButton.Enabled = true;
9999
}

0 commit comments

Comments
 (0)