Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SpotifyAPI.Docs/docs/authorization_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static async Task Main()
{
Scope = new List<string> { Scopes.UserReadEmail }
};
BrowserUtil.Open(uri);
BrowserUtil.Open(request.ToUri());
}

private static async Task OnAuthorizationCodeReceived(object sender, AuthorizationCodeResponse response)
Expand All @@ -96,7 +96,7 @@ private static async Task OnAuthorizationCodeReceived(object sender, Authorizati
var config = SpotifyClientConfig.CreateDefault();
var tokenResponse = await new OAuthClient(config).RequestToken(
new AuthorizationCodeTokenRequest(
"ClientId", "ClientSecret", response.Code, "http://localhost:5000/callback"
"ClientId", "ClientSecret", response.Code, new Uri("http://localhost:5000/callback")
)
);

Expand Down