protected override Uri GetServiceLoginUrl(Uri returnUrl)
{
var builder = new UriBuilder(AuthorizationEndpoint);
builder.AppendQueryArgs(
new Dictionary<string, string>
{
{"grant_type", "authorization_code"},
{"client_id", this.appId},
{"client_secret", this.appSecret},
//{ "scope", string.Join(" ", this.requestedScopes) },
{"response_type", "code"},
{"redirect_uri", returnUrl.AbsoluteUri},
});
return builder.Uri;
}