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
4285a56d47
commit
44e0300cf9
@ -195,12 +195,12 @@ be added under <code><Configuration></code> to ensure the OpenIddict clien
|
||||
</Provider>
|
||||
</code></pre></div>
|
||||
<div class="NOTE"><h5>Note</h5><p>Some providers use a multitenant configuration that relies on a subdomain, a custom domain or a virtual path to discriminate tenant instances.
|
||||
If the provider you want to support requires adding a dynamic part in one of its URLs, a <code><Setting></code> node MUST be added under <code><Provider></code> to
|
||||
store the tenant name. Once added, the URLs can include a placeholder of the same name:</p>
|
||||
If the provider you want to support requires adding a dynamic part in one of its URIs, a <code><Setting></code> node MUST be added under <code><Provider></code> to
|
||||
store the tenant name. Once added, the URIs can include a placeholder of the same name:</p>
|
||||
<pre><code class="lang-xml"><Provider Name="Zendesk">
|
||||
<!--
|
||||
Note: Zendesk is a multitenant provider that relies on subdomains to identify instances.
|
||||
As such, the following URLs all include a {tenant} placeholder that will be dynamically
|
||||
As such, the following URIs all include a {tenant} placeholder that will be dynamically
|
||||
replaced by OpenIddict at runtime by the tenant configured in the Zendesk settings.
|
||||
-->
|
||||
|
||||
@ -222,7 +222,7 @@ To confirm it, build the solution and add the new provider to the <code>OpenIddi
|
||||
</ul>
|
||||
<pre><code class="lang-csharp">options.SetRedirectionEndpointUris(
|
||||
// ... other providers...
|
||||
"/signin-[provider name]");
|
||||
"callback/login/[provider name]");
|
||||
</code></pre><pre><code class="lang-csharp">// Register the Web providers integrations.
|
||||
options.UseWebProviders()
|
||||
// ... other providers...
|
||||
@ -230,7 +230,7 @@ options.UseWebProviders()
|
||||
{
|
||||
options.SetClientId("bXgwc0U3N3A3YWNuaWVsdlRmRWE6MTpjaQ");
|
||||
options.SetClientSecret("VcohOgBp-6yQCurngo4GAyKeZh0D6SUCCSjJgEo1uRzJarjIUS");
|
||||
options.SetRedirectUri("https://localhost:44381/signin-[provider name]");
|
||||
options.SetRedirectUri("callback/login/[provider name]");
|
||||
});
|
||||
</code></pre><ul>
|
||||
<li>Update <code>AuthenticationController.cs</code> to allow triggering challenges pointing to the new provider:</li>
|
||||
|
@ -282,7 +282,7 @@ To reference the OpenIddict MyGet feed, <strong>create a <code>NuGet.config</cod
|
||||
<p><strong>OpenIddict</strong> is actively maintained by <strong><a href="https://github.com/kevinchalet">Kévin Chalet</a></strong>. Contributions are welcome and can be submitted using pull requests.</p>
|
||||
<p><strong>Special thanks to <a href="https://github.com/sponsors/kevinchalet#sponsors">our sponsors</a> for their incredible support</strong>:</p>
|
||||
<p><a href="https://volosoft.com/"><img src="https://volosoft.com/assets/logos/volosoft-logo-dark.svg" width="500px" alt="Volosoft logo"></a></p>
|
||||
<p><!-- sponsors --><a href="https://github.com/sebastienros"><img src="https://github.com/sebastienros.png" width="60px" alt="Sébastien Ros"></a><a href="https://github.com/GDreyV"><img src="https://github.com/GDreyV.png" width="60px" alt="Andrew"></a><a href="https://github.com/gustavdw"><img src="https://github.com/gustavdw.png" width="60px" alt=""></a><a href="https://github.com/DovydasNavickas"><img src="https://github.com/DovydasNavickas.png" width="60px" alt="Dovydas Navickas"></a><a href="https://github.com/schmitch"><img src="https://github.com/schmitch.png" width="60px" alt="Schmitt Christian"></a><a href="https://github.com/ThreeScreenStudios"><img src="https://github.com/ThreeScreenStudios.png" width="60px" alt="Thomas W"></a><a href="https://github.com/florianwachs"><img src="https://github.com/florianwachs.png" width="60px" alt="Florian Wachs"></a><a href="https://github.com/SebastianStehle"><img src="https://github.com/SebastianStehle.png" width="60px" alt="Sebastian Stehle"></a><a href="https://github.com/MichaelHochriegl"><img src="https://github.com/MichaelHochriegl.png" width="60px" alt="Dr_Cox1911"></a><a href="https://github.com/communicatie-cockpit"><img src="https://github.com/communicatie-cockpit.png" width="60px" alt="Communicatie Cockpit"></a><a href="https://github.com/KeithT"><img src="https://github.com/KeithT.png" width="60px" alt=""></a><a href="https://github.com/WGMurray"><img src="https://github.com/WGMurray.png" width="60px" alt=""></a><a href="https://github.com/Skrypt"><img src="https://github.com/Skrypt.png" width="60px" alt="Jasmin Savard"></a><a href="https://github.com/ThomasBjallas"><img src="https://github.com/ThomasBjallas.png" width="60px" alt="Thomas"></a><a href="https://github.com/mcalasa"><img src="https://github.com/mcalasa.png" width="60px" alt="Michael Calasanz"></a><a href="https://github.com/feededit"><img src="https://github.com/feededit.png" width="60px" alt=""></a><a href="https://github.com/BlackSyc"><img src="https://github.com/BlackSyc.png" width="60px" alt="Syc"></a><a href="https://github.com/Huppiflu"><img src="https://github.com/Huppiflu.png" width="60px" alt="Martin Tausch"></a><a href="https://github.com/nbelley"><img src="https://github.com/nbelley.png" width="60px" alt="Nicolas Belley"></a><a href="https://github.com/DigitalOpsDev"><img src="https://github.com/DigitalOpsDev.png" width="60px" alt="DigitalOps Co. Ltd."></a><a href="https://github.com/Thodor12"><img src="https://github.com/Thodor12.png" width="60px" alt="Thom van den Akker"></a><a href="https://github.com/jacojvv-dev"><img src="https://github.com/jacojvv-dev.png" width="60px" alt="Jaco Jansen van Vuuren"></a><a href="https://github.com/EYERIDE-Fleet-Management-System"><img src="https://github.com/EYERIDE-Fleet-Management-System.png" width="60px" alt="EYERIDE Fleet Management System"></a><a href="https://github.com/salimz1"><img src="https://github.com/salimz1.png" width="60px" alt=""></a><!-- sponsors --></p>
|
||||
<p><!-- sponsors --><a href="https://github.com/sebastienros"><img src="https://github.com/sebastienros.png" width="60px" alt="Sébastien Ros"></a><a href="https://github.com/GDreyV"><img src="https://github.com/GDreyV.png" width="60px" alt="Andrew"></a><a href="https://github.com/gustavdw"><img src="https://github.com/gustavdw.png" width="60px" alt=""></a><a href="https://github.com/DovydasNavickas"><img src="https://github.com/DovydasNavickas.png" width="60px" alt="Dovydas Navickas"></a><a href="https://github.com/schmitch"><img src="https://github.com/schmitch.png" width="60px" alt="Schmitt Christian"></a><a href="https://github.com/ThreeScreenStudios"><img src="https://github.com/ThreeScreenStudios.png" width="60px" alt="Thomas W"></a><a href="https://github.com/cryo75"><img src="https://github.com/cryo75.png" width="60px" alt=""></a><a href="https://github.com/florianwachs"><img src="https://github.com/florianwachs.png" width="60px" alt="Florian Wachs"></a><a href="https://github.com/SebastianStehle"><img src="https://github.com/SebastianStehle.png" width="60px" alt="Sebastian Stehle"></a><a href="https://github.com/MichaelHochriegl"><img src="https://github.com/MichaelHochriegl.png" width="60px" alt="Dr_Cox1911"></a><a href="https://github.com/communicatie-cockpit"><img src="https://github.com/communicatie-cockpit.png" width="60px" alt="Communicatie Cockpit"></a><a href="https://github.com/KeithT"><img src="https://github.com/KeithT.png" width="60px" alt=""></a><a href="https://github.com/WGMurray"><img src="https://github.com/WGMurray.png" width="60px" alt=""></a><a href="https://github.com/Skrypt"><img src="https://github.com/Skrypt.png" width="60px" alt="Jasmin Savard"></a><a href="https://github.com/ThomasBjallas"><img src="https://github.com/ThomasBjallas.png" width="60px" alt="Thomas"></a><a href="https://github.com/mcalasa"><img src="https://github.com/mcalasa.png" width="60px" alt="Michael Calasanz"></a><a href="https://github.com/feededit"><img src="https://github.com/feededit.png" width="60px" alt=""></a><a href="https://github.com/BlackSyc"><img src="https://github.com/BlackSyc.png" width="60px" alt="Syc"></a><a href="https://github.com/Huppiflu"><img src="https://github.com/Huppiflu.png" width="60px" alt="Martin Tausch"></a><a href="https://github.com/nbelley"><img src="https://github.com/nbelley.png" width="60px" alt="Nicolas Belley"></a><a href="https://github.com/DigitalOpsDev"><img src="https://github.com/DigitalOpsDev.png" width="60px" alt="DigitalOps Co. Ltd."></a><a href="https://github.com/Thodor12"><img src="https://github.com/Thodor12.png" width="60px" alt="Thom van den Akker"></a><a href="https://github.com/jacojvv-dev"><img src="https://github.com/jacojvv-dev.png" width="60px" alt="Jaco Jansen van Vuuren"></a><a href="https://github.com/EYERIDE-Fleet-Management-System"><img src="https://github.com/EYERIDE-Fleet-Management-System.png" width="60px" alt="EYERIDE Fleet Management System"></a><a href="https://github.com/salimz1"><img src="https://github.com/salimz1.png" width="60px" alt=""></a><a href="https://github.com/hypdeb"><img src="https://github.com/hypdeb.png" width="60px" alt="Julien Debache"></a><!-- sponsors --></p>
|
||||
<hr>
|
||||
<h2 id="license">License</h2>
|
||||
<p>This project is licensed under the <strong>Apache License</strong>. This means that you can use, modify and distribute it freely.
|
||||
|
@ -1600,7 +1600,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "guides/contributing-a-new-web-provider.html",
|
||||
"hash": "4ovCVYw3qFNm1e7Yi3eQNw=="
|
||||
"hash": "0k6P3Ocg1GObvKezKHB8rw=="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
@ -1682,7 +1682,7 @@
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "index.html",
|
||||
"hash": "aAaEfSsAemaZRlvm7cJEUg=="
|
||||
"hash": "kH3P0qwpPny5F8pUfVAb4g=="
|
||||
}
|
||||
},
|
||||
"is_incremental": false,
|
||||
|
Loading…
Reference in New Issue
Block a user