mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-04-05 17:38:03 +08:00
Bump OpenIddict to 3.0.5
This commit is contained in:
parent
fd0b896b2e
commit
0fa393b6f6
@ -63,6 +63,7 @@ While not recommended, support for the `code_challenge_method=plain` method can
|
||||
services.AddOpenIddict()
|
||||
.AddServer(options =>
|
||||
{
|
||||
options.Configure(options => options.CodeChallengeMethods.Add(CodeChallengeMethods.Plain));
|
||||
options.Configure(options => options.CodeChallengeMethods.Add(
|
||||
CodeChallengeMethods.Plain));
|
||||
});
|
||||
```
|
@ -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:
|
||||
|
||||
```xml
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="3.0.4" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.4" />
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="3.0.5" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.5" />
|
||||
```
|
||||
|
||||
- **Configure the OpenIddict core, server and validation services** in `Startup.ConfigureServices`.
|
||||
|
@ -13,8 +13,8 @@ For that, update your `.csproj` file to reference the `OpenIddict.AspNetCore` 3.
|
||||
|
||||
```xml
|
||||
<ItemGroup>
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="3.0.4" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.4" />
|
||||
<PackageReference Include="OpenIddict.AspNetCore" Version="3.0.5" />
|
||||
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="3.0.5" />
|
||||
</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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user