diff --git a/guide/getting-started.html b/guide/getting-started.html index 5b7117c..2618636 100644 --- a/guide/getting-started.html +++ b/guide/getting-started.html @@ -171,7 +171,9 @@ Here's an example for the client credentials grant, used in machine-to-machi // to replace the default OpenIddict entities. options.UseOpenIddict(); }); -

-> [!WARNING] + + +

-> [!WARNING] -> Important: if you change the default entity primary key (e.g. to int or Guid instead of string), make sure you use the options.ReplaceDefaultEntities<TKey>() -> core extension accepting a TKey generic argument and use the generic options.UseOpenIddict<TKey>() overload to configure EF Core to use the specified type: -> @@ -193,7 +195,7 @@ Here's an example for the client credentials grant, used in machine-to-machi -> options.UseOpenIddict<Guid>(); -> }); ->

- +