mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-07-15 23:13:34 +08:00
Update the documentation pages
This commit is contained in:
parent
ea7ae06912
commit
ec26196895
@ -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 =>
|
||||
|
@ -1600,7 +1600,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "guides/contributing-a-new-web-provider.html",
|
||||
"hash": "0k6P3Ocg1GObvKezKHB8rw=="
|
||||
"hash": "IvBnidz/TpH9TrBglYg5dQ=="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
|
Loading…
Reference in New Issue
Block a user