mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
updated to latest id server packages and i know these work
This commit is contained in:
parent
d8621d9046
commit
4428982052
@ -197,7 +197,7 @@ namespace Ocelot.DependencyInjection
|
|||||||
o.Authority = baseSchemeUrlAndPort + "admin";
|
o.Authority = baseSchemeUrlAndPort + "admin";
|
||||||
o.ApiName = identityServerConfiguration.ApiName;
|
o.ApiName = identityServerConfiguration.ApiName;
|
||||||
o.RequireHttpsMetadata = identityServerConfiguration.RequireHttps;
|
o.RequireHttpsMetadata = identityServerConfiguration.RequireHttps;
|
||||||
o.AllowedScopes = identityServerConfiguration.AllowedScopes;
|
//o.AllowedScopes = identityServerConfiguration.AllowedScopes;
|
||||||
o.SupportedTokens = SupportedTokens.Both;
|
o.SupportedTokens = SupportedTokens.Both;
|
||||||
o.ApiSecret = identityServerConfiguration.ApiSecret;
|
o.ApiSecret = identityServerConfiguration.ApiSecret;
|
||||||
});
|
});
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="2.0.0-rc1" />
|
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="2.0.2" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.0.0" />
|
||||||
@ -42,7 +42,7 @@
|
|||||||
<PackageReference Include="CacheManager.Microsoft.Extensions.Logging" Version="1.1.1" />
|
<PackageReference Include="CacheManager.Microsoft.Extensions.Logging" Version="1.1.1" />
|
||||||
<PackageReference Include="Consul" Version="0.7.2.3" />
|
<PackageReference Include="Consul" Version="0.7.2.3" />
|
||||||
<PackageReference Include="Polly" Version="5.3.1" />
|
<PackageReference Include="Polly" Version="5.3.1" />
|
||||||
<PackageReference Include="IdentityServer4" Version="2.0.0-rc1-update1" />
|
<PackageReference Include="IdentityServer4" Version="2.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user