From 44e0300cf9ffc5ed6935d3b98094c92cf6bad2f3 Mon Sep 17 00:00:00 2001 From: OpenIddict Bot <32257313+openiddict-bot@users.noreply.github.com> Date: Sat, 10 Dec 2022 14:46:03 +0000 Subject: [PATCH] Update the documentation pages --- guides/contributing-a-new-web-provider.html | 10 +++++----- index.html | 2 +- manifest.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/guides/contributing-a-new-web-provider.html b/guides/contributing-a-new-web-provider.html index 33654b5..32fbe5f 100644 --- a/guides/contributing-a-new-web-provider.html +++ b/guides/contributing-a-new-web-provider.html @@ -195,12 +195,12 @@ be added under <Configuration> to ensure the OpenIddict clien </Provider>
Note

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 <Setting> node MUST be added under <Provider> to -store the tenant name. Once added, the URLs can include a placeholder of the same name:

+If the provider you want to support requires adding a dynamic part in one of its URIs, a <Setting> node MUST be added under <Provider> to +store the tenant name. Once added, the URIs can include a placeholder of the same name:

<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 OpenIddi
 
 
options.SetRedirectionEndpointUris(
     // ... other providers...
-    "/signin-[provider name]");
+    "callback/login/[provider name]");
 
// 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]");
        });
 
  • Update AuthenticationController.cs to allow triggering challenges pointing to the new provider:
  • diff --git a/index.html b/index.html index f54de98..fdf0e0d 100644 --- a/index.html +++ b/index.html @@ -282,7 +282,7 @@ To reference the OpenIddict MyGet feed, create a NuGet.configOpenIddict is actively maintained by Kévin Chalet. Contributions are welcome and can be submitted using pull requests.

    Special thanks to our sponsors for their incredible support:

    Volosoft logo

    -

    Sébastien RosAndrewDovydas NavickasSchmitt ChristianThomas WFlorian WachsSebastian StehleDr_Cox1911Communicatie CockpitJasmin SavardThomasMichael CalasanzSycMartin TauschNicolas BelleyDigitalOps Co. Ltd.Thom van den AkkerJaco Jansen van VuurenEYERIDE Fleet Management System

    +

    Sébastien RosAndrewDovydas NavickasSchmitt ChristianThomas WFlorian WachsSebastian StehleDr_Cox1911Communicatie CockpitJasmin SavardThomasMichael CalasanzSycMartin TauschNicolas BelleyDigitalOps Co. Ltd.Thom van den AkkerJaco Jansen van VuurenEYERIDE Fleet Management SystemJulien Debache


    License

    This project is licensed under the Apache License. This means that you can use, modify and distribute it freely. diff --git a/manifest.json b/manifest.json index 7bffd09..c254e6b 100644 --- a/manifest.json +++ b/manifest.json @@ -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,