Skip to content

Commit

Permalink
AA: fix scope function
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Jan 17, 2024
1 parent 7971cba commit d03a8f0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
Expand Down Expand Up @@ -43,7 +44,7 @@ public static string[] AccessTokenScopes(this TokenResponse tokenResponse)
scopes.AddRange(values.Select(item => item.ToString()));
break;
default:
scopes.Add(JsonExtensions.SerializeToJson(value));
scopes.Add(JsonConvert.SerializeObject(value));
break;
}

Expand Down

0 comments on commit d03a8f0

Please sign in to comment.