We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5be439a commit eb9d1c1Copy full SHA for eb9d1c1
src/Authentication/Authentication/Helpers/JwtHelpers.cs
@@ -29,8 +29,7 @@ internal static string Decode(string jwToken)
29
if (jwtHandler.CanReadToken(jwToken))
30
{
31
JwtSecurityToken token = jwtHandler.ReadJwtToken(jwToken);
32
- JwtPayload jwtPayload = new JwtPayload(token.Claims);
33
- return jwtPayload.SerializeToJson();
+ return token.Payload.SerializeToJson();
34
} else {
35
return null;
36
}
src/Authentication/Authentication/Properties/launchSettings.json
@@ -2,7 +2,7 @@
2
"profiles": {
3
"Graph.Authentication": {
4
"commandName": "Executable",
5
- "executablePath": "C:\\Program Files\\PowerShell\\7-preview\\pwsh.exe",
+ "executablePath": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
6
"commandLineArgs": "-NoProfile -NoExit"
7
8
0 commit comments