From 91221dbe340e0661171a78b6a3f1542bd8c89518 Mon Sep 17 00:00:00 2001 From: OpenIddict Bot <32257313+openiddict-bot@users.noreply.github.com> Date: Thu, 6 Oct 2022 14:30:17 +0000 Subject: [PATCH] Update the documentation pages --- guides/contributing-a-new-web-provider.html | 12 ++++++------ manifest.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/guides/contributing-a-new-web-provider.html b/guides/contributing-a-new-web-provider.html index 2ae6c0f..c0f52ee 100644 --- a/guides/contributing-a-new-web-provider.html +++ b/guides/contributing-a-new-web-provider.html @@ -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>

Test the generated provider

@@ -212,11 +212,11 @@ To confirm it, build the solution and add the new provider to the OpenIddi
// Register the Web providers integrations.
 options.UseWebProviders()
        // ... other providers...
-       .Add[provider name](new()
+       .Use[provider name](options =>
        {
-           ClientId = "bXgwc0U3N3A3YWNuaWVsdlRmRWE6MTpjaQ",
-           ClientSecret = "VcohOgBp-6yQCurngo4GAyKeZh0D6SUCCSjJgEo1uRzJarjIUS",
-           RedirectUri = new Uri("https://localhost:44381/signin-[provider name]", UriKind.Absolute)
+           options.SetClientId("bXgwc0U3N3A3YWNuaWVsdlRmRWE6MTpjaQ");
+           options.SetClientSecret("VcohOgBp-6yQCurngo4GAyKeZh0D6SUCCSjJgEo1uRzJarjIUS");
+           options.SetRedirectUri("https://localhost:44381/signin-[provider name]");
        });