Skip to content

Commit

Permalink
Merge pull request #7 from brandonros/main
Browse files Browse the repository at this point in the history
support latest Azure.Identity
  • Loading branch information
DmitriySft authored Nov 26, 2024
2 parents e473927 + cb9f62e commit d8e1b30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.8.0" />
<PackageReference Include="Azure.Identity" Version="1.13.1" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.6.0" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="7.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public async Task<ActionResult> Get(string resource)
var authHeader = Request.Headers.Authorization;
if (string.IsNullOrWhiteSpace(authHeader))
{
var fileName = Guid.NewGuid().ToString();
var fileName = $"{Guid.NewGuid().ToString()}.key";
var localFileName = Path.Combine(localPath, fileName);
var remoteFileName = Path.Combine(options.RemoteTokensPath!, fileName);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:33549",
"applicationUrl": "http://localhost:40342",
"sslPort": 0
}
},
Expand All @@ -14,9 +14,10 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "http://localhost:5151",
"applicationUrl": "http://127.0.0.1:40342",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "http://127.0.0.1:40342"
}
},
"IIS Express": {
Expand Down

0 comments on commit d8e1b30

Please sign in to comment.