Bump OpenIddict to 3.0.5

This commit is contained in:
Kévin Chalet 2021-06-11 17:46:16 +02:00
parent fd0b896b2e
commit 0fa393b6f6
3 changed files with 7 additions and 6 deletions

View File

@ -63,6 +63,7 @@ While not recommended, support for the `code_challenge_method=plain` method can
services.AddOpenIddict() services.AddOpenIddict()
.AddServer(options => .AddServer(options =>
{ {
options.Configure(options => options.CodeChallengeMethods.Add(CodeChallengeMethods.Plain)); options.Configure(options => options.CodeChallengeMethods.Add(
CodeChallengeMethods.Plain));
}); });
``` ```

View File

@ -12,8 +12,8 @@ If you don't want to start from one of the recommended samples, you'll need to:
- **Update your `.csproj` file** to reference the latest `OpenIddict` packages: - **Update your `.csproj` file** to reference the latest `OpenIddict` packages:
```xml ```xml
<PackageReference Include="OpenIddict.AspNetCore" Version="3.0.4" /> <PackageReference Include="OpenIddict.AspNetCore" Version="3.0.5" />
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.4" /> <PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.5" />
``` ```
- **Configure the OpenIddict core, server and validation services** in `Startup.ConfigureServices`. - **Configure the OpenIddict core, server and validation services** in `Startup.ConfigureServices`.

View File

@ -13,8 +13,8 @@ For that, update your `.csproj` file to reference the `OpenIddict.AspNetCore` 3.
```xml ```xml
<ItemGroup> <ItemGroup>
<PackageReference Include="OpenIddict.AspNetCore" Version="3.0.4" /> <PackageReference Include="OpenIddict.AspNetCore" Version="3.0.5" />
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.4" /> <PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.5" />
</ItemGroup> </ItemGroup>
``` ```
@ -133,7 +133,7 @@ services.AddAuthorization(options =>
}); });
``` ```
## Add an apply migrations, if necessary ## Add and apply migrations, if necessary
If your application uses Entity Framework Core or Entity Framework 6, add a migration to react to the schema changes listed below and apply it. If your application uses Entity Framework Core or Entity Framework 6, add a migration to react to the schema changes listed below and apply it.