|
|
@ -55,15 +55,13 @@ To use OpenIddict, you need to: |
|
|
</configuration> |
|
|
</configuration> |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
- **Update your `project.json`** to reference `AspNet.Security.OAuth.Validation` and `OpenIddict`: |
|
|
- **Update your `.csproj` file** to reference `AspNet.Security.OAuth.Validation` and the `OpenIddict` packages: |
|
|
|
|
|
|
|
|
```json |
|
|
```xml |
|
|
"dependencies": { |
|
|
<PackageReference Include="AspNet.Security.OAuth.Validation" Version="1.0.0-*" /> |
|
|
"AspNet.Security.OAuth.Validation": "1.0.0-*", |
|
|
<PackageReference Include="OpenIddict" Version="1.0.0-*" /> |
|
|
"OpenIddict": "1.0.0-*", |
|
|
<PackageReference Include="OpenIddict.EntityFrameworkCore" Version="1.0.0-*" /> |
|
|
"OpenIddict.EntityFrameworkCore": "1.0.0-*", |
|
|
<PackageReference Include="OpenIddict.Mvc" Version="1.0.0-*" /> |
|
|
"OpenIddict.Mvc": "1.0.0-*" |
|
|
|
|
|
} |
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
- **Configure the OpenIddict services** in `Startup.ConfigureServices`: |
|
|
- **Configure the OpenIddict services** in `Startup.ConfigureServices`: |
|
|
|