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>
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]");
});
AuthenticationController.cs
to allow triggering challenges pointing to the new provider: