Skip to content

Commit

Permalink
Added Pipeline Auth schem in SyncgroupApi (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshg2491 authored Jul 23, 2024
1 parent d2d9abd commit 06c0978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ADP.Portal.Api/ADP.Portal.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>0.2.27</Version>
<Version>0.2.28</Version>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
Expand Down
2 changes: 1 addition & 1 deletion src/ADP.Portal.Api/Controllers/AadGroupController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public async Task<ActionResult> SetGroupMembersAsync(string teamName, [FromBody]
/// <param name="groupType">Optional: Type of groups to sync i.e. UserGroup/AccessGroup/OpenVpnGroup</param>
/// <returns></returns>
[HttpPut("{teamName}/sync", Name = "SyncGroupsForTeam")]
[Authorize(AuthenticationSchemes = "")]
[Authorize(AuthenticationSchemes = "pipeline")]
[ProducesResponseType(StatusCodes.Status204NoContent)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
public async Task<ActionResult> SyncGroupsAsync(string teamName, [FromQuery] string? groupType = null)
Expand Down

0 comments on commit 06c0978

Please sign in to comment.