Update the documentation pages

This commit is contained in:
OpenIddict Bot
2022-12-26 18:13:48 +00:00
parent ea7ae06912
commit ec26196895
2 changed files with 5 additions and 8 deletions

View File

@@ -166,8 +166,8 @@ the OpenIddict client to communicate with the remote authorization server. For i
<Configuration AuthorizationEndpoint="https://www.reddit.com/api/v1/authorize"
TokenEndpoint="https://www.reddit.com/api/v1/access_token"
UserinfoEndpoint="https://oauth.reddit.com/api/v1/me">
<GrantType Value="authorization_code" />
<GrantType Value="refresh_token" />
<GrantType Value="authorization_code" />
<GrantType Value="refresh_token" />
</Configuration>
</Environment>
</Provider>
@@ -218,12 +218,9 @@ store the tenant name. Once added, the URIs can include a placeholder of the sam
<p>If the targeted service is fully standard-compliant, no additional configuration should be required at this point.
To confirm it, build the solution and add the new provider to the <code>OpenIddict.Sandbox.AspNetCore.Client</code> sandbox:</p>
<ul>
<li>Update <code>Startup.cs</code> to use your new provider:</li>
<li>Update <code>Startup.cs</code> to register your new provider:</li>
</ul>
<pre><code class="lang-csharp">options.SetRedirectionEndpointUris(
// ... other providers...
&quot;callback/login/[provider name]&quot;);
</code></pre><pre><code class="lang-csharp">// Register the Web providers integrations.
<pre><code class="lang-csharp">// Register the Web providers integrations.
options.UseWebProviders()
// ... other providers...
.Use[provider name](options =&gt;