Update the documentation pages

This commit is contained in:
OpenIddict Bot
2022-12-23 19:47:50 +00:00
parent 75283631d0
commit df07a1a5b0
5 changed files with 331 additions and 10 deletions

View File

@@ -102,8 +102,8 @@
using <strong>individual user accounts authentication</strong> is strongly recommended as it automatically includes the default ASP.NET Core Identity UI, based on Razor Pages.</p>
</li>
<li><p><strong>Update your <code>.csproj</code> file</strong> to reference the latest <code>OpenIddict</code> packages:</p>
<pre><code class="lang-xml">&lt;PackageReference Include=&quot;OpenIddict.AspNetCore&quot; Version=&quot;3.1.1&quot; /&gt;
&lt;PackageReference Include=&quot;OpenIddict.EntityFrameworkCore&quot; Version=&quot;3.1.1&quot; /&gt;
<pre><code class="lang-xml">&lt;PackageReference Include=&quot;OpenIddict.AspNetCore&quot; Version=&quot;4.0.0&quot; /&gt;
&lt;PackageReference Include=&quot;OpenIddict.EntityFrameworkCore&quot; Version=&quot;4.0.0&quot; /&gt;
</code></pre></li>
<li><p><strong>Configure the OpenIddict core, server and validation services</strong> in <code>Startup.ConfigureServices</code>.
Here&#39;s an example for the client credentials grant, used in machine-to-machine scenarios:</p>
@@ -136,7 +136,7 @@ Here&#39;s an example for the client credentials grant, used in machine-to-machi
.AddServer(options =&gt;
{
// Enable the token endpoint.
options.SetTokenEndpointUris(&quot;/connect/token&quot;);
options.SetTokenEndpointUris(&quot;connect/token&quot;);
// Enable the client credentials flow.
options.AllowClientCredentialsFlow();