Skip to content

Commit b2fe94b

Browse files
authored
Fix scopes concatenation in Odnoklassniki provider (#607)
Fix scopes concatenation in 'Odnoklassniki' provider
1 parent d2958ec commit b2fe94b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AspNet.Security.OAuth.Odnoklassniki/OdnoklassnikiAuthenticationHandler.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ protected override async Task<AuthenticationTicket> CreateTicketAsync(
7676
return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);
7777
}
7878

79+
protected override string FormatScope([NotNull] IEnumerable<string> scopes)
80+
=> string.Join(';', scopes);
81+
7982
private static string GetMD5Hash(string input)
8083
{
8184
#pragma warning disable CA5351

0 commit comments

Comments
 (0)