mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-07-17 01:46:23 +08:00
Update the migration guide to mention that oi_scp claims are only usable with the OpenIddict validation handler
This commit is contained in:
parent
99e72d2406
commit
f0b957810c
@ -171,6 +171,10 @@ services.AddAuthorization(options =>
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> [!CAUTION]
|
||||||
|
> These 2 options only work with the OpenIddict validation handler as the `oi_scp` claims are not populated by the JWT bearer handler developped by Microsoft.
|
||||||
|
> If you can't migrate to the OpenIddict validation handler, consider splitting the standard `scope` claim manually to determine whether it contains a specific value.
|
||||||
|
|
||||||
## Add and 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user