Skip to content

Commit

Permalink
Updates Graph connector notification token (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz authored Sep 2, 2024
1 parent 42315db commit e49bb4b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions dev-proxy-plugins/Mocks/GraphConnectorNotificationPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,16 @@ private string GetJwtToken()
{
Claims = new Dictionary<string, object>
{
{ "scp", "user_impersonation" },
{ "sub", "l3_roISQU222bULS9yi2k0XpqpOiMz5H3ZACo1GeXA" },
{ "ver", "1.0" },
// Graph Connector Service
{ "appid", "56c1da01-2129-48f7-9355-af6d59d42766" }
// Microsoft Graph Change Tracking
{ "azp", "0bf30f3b-4a52-48df-9a82-234910c4a086" },
// client cert auth
{ "azpacr", "2" },
{ "tid", _graphConnectorConfiguration.Tenant ?? "" },
{ "ver", "2.0" }

},
Expires = DateTime.UtcNow.AddMinutes(60),
Issuer = $"https://sts.windows.net/{_graphConnectorConfiguration.Tenant}/",
Issuer = $"https://login.microsoftonline.com/{_graphConnectorConfiguration.Tenant}/v2.0",
Audience = _graphConnectorConfiguration.Audience,
SigningCredentials = signingCredentials
};
Expand Down

0 comments on commit e49bb4b

Please sign in to comment.