Update the documentation pages

This commit is contained in:
OpenIddict Bot 2022-10-06 14:30:17 +00:00
parent 6153ebfacd
commit 91221dbe34
2 changed files with 7 additions and 7 deletions

View File

@ -196,8 +196,8 @@ store the tenant name. Once added, the URLs can include a placeholder of the sam
UserinfoEndpoint="https://{tenant}.zendesk.com/api/v2/users/me" />
</Environment>
<Setting Name="Tenant" Type="String" Required="true"
Description="Gets or sets the tenant used to identify the Zendesk instance." />
<Setting PropertyName="Tenant" ParameterName="tenant" Type="String" Required="true"
Description="The tenant used to identify the Zendesk instance" />
</Provider>
</code></pre></div>
<h2 id="test-the-generated-provider">Test the generated provider</h2>
@ -212,11 +212,11 @@ To confirm it, build the solution and add the new provider to the <code>OpenIddi
</code></pre><pre><code class="lang-csharp">// Register the Web providers integrations.
options.UseWebProviders()
// ... other providers...
.Add[provider name](new()
.Use[provider name](options =&gt;
{
ClientId = &quot;bXgwc0U3N3A3YWNuaWVsdlRmRWE6MTpjaQ&quot;,
ClientSecret = &quot;VcohOgBp-6yQCurngo4GAyKeZh0D6SUCCSjJgEo1uRzJarjIUS&quot;,
RedirectUri = new Uri(&quot;https://localhost:44381/signin-[provider name]&quot;, UriKind.Absolute)
options.SetClientId(&quot;bXgwc0U3N3A3YWNuaWVsdlRmRWE6MTpjaQ&quot;);
options.SetClientSecret(&quot;VcohOgBp-6yQCurngo4GAyKeZh0D6SUCCSjJgEo1uRzJarjIUS&quot;);
options.SetRedirectUri(&quot;https://localhost:44381/signin-[provider name]&quot;);
});
</code></pre><ul>
<li>Update <code>AuthenticationController.cs</code> to allow triggering challenges pointing to the new provider:</li>

View File

@ -1600,7 +1600,7 @@
"output": {
".html": {
"relative_path": "guides/contributing-a-new-web-provider.html",
"hash": "dssOySLr9rHvHRUmI0sn8w=="
"hash": "cUH0EymWfP98SRcvWv2DLg=="
}
},
"is_incremental": false,