mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-09-21 02:57:53 +08:00
Update the documentation pages
This commit is contained in:
@@ -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...
|
||||
"callback/login/[provider name]");
|
||||
</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 =>
|
||||
|
Reference in New Issue
Block a user