Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dotnet/semantic-kernel/sample-agent/AspNetExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static class AspNetExtensions
/// "TokenValidation": {
/// "Enabled": boolean,
/// "Audiences": [
/// "{{ClientId}}" // this is the Client ID used for the Azure Bot
/// "{{ClientId}}" // this is the Client ID used for the Agent Blueprint
/// ],
/// "TenantId": "{{TenantId}}"
/// }
Expand Down Expand Up @@ -229,7 +229,7 @@ public class TokenValidationOptions
public IList<string>? Audiences { get; set; }

/// <summary>
/// TenantId of the Azure Bot. Optional but recommended.
/// TenantId of the Agent Blueprint. Optional but recommended.
/// </summary>
public string? TenantId { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions dotnet/semantic-kernel/sample-agent/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"TokenValidation": {
"Enabled": false,
"Audiences": [
"{{ClientId}}" // this is the Client ID used for the Azure Bot
"{{ClientId}}" // this is the Client ID used for the Agent Blueprint
],
"TenantId": "{{TenantId}}"
},
Expand Down Expand Up @@ -38,7 +38,7 @@
"Settings": {
"AuthType": "ClientSecret", // this is the AuthType for the connection, valid values can be found in Microsoft.Agents.Authentication.Msal.Model.AuthTypes. The default is ClientSecret.
"AuthorityEndpoint": "",
"ClientId": "", // this is the Client ID used for the Azure Bot
"ClientId": "", // this is the Client ID used for the Agent Blueprint
"ClientSecret": "", // this is the Client Secret used for the connection.
"Scopes": [
"5a807f24-c9de-44ee-a3a7-329e88a00ffc/.default"
Expand Down
Loading