From ec26196895a049b52523dd7f159e0ff37b317af1 Mon Sep 17 00:00:00 2001 From: OpenIddict Bot <32257313+openiddict-bot@users.noreply.github.com> Date: Mon, 26 Dec 2022 18:13:48 +0000 Subject: [PATCH] Update the documentation pages --- guides/contributing-a-new-web-provider.html | 11 ++++------- manifest.json | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/guides/contributing-a-new-web-provider.html b/guides/contributing-a-new-web-provider.html index 32fbe5f..0f27f6d 100644 --- a/guides/contributing-a-new-web-provider.html +++ b/guides/contributing-a-new-web-provider.html @@ -166,8 +166,8 @@ the OpenIddict client to communicate with the remote authorization server. For i <Configuration AuthorizationEndpoint="https://www.reddit.com/api/v1/authorize" TokenEndpoint="https://www.reddit.com/api/v1/access_token" UserinfoEndpoint="https://oauth.reddit.com/api/v1/me"> - <GrantType Value="authorization_code" /> - <GrantType Value="refresh_token" /> + <GrantType Value="authorization_code" /> + <GrantType Value="refresh_token" /> </Configuration> </Environment> </Provider> @@ -218,12 +218,9 @@ store the tenant name. Once added, the URIs can include a placeholder of the sam
If the targeted service is fully standard-compliant, no additional configuration should be required at this point.
To confirm it, build the solution and add the new provider to the OpenIddict.Sandbox.AspNetCore.Client
sandbox:
Startup.cs
to use your new provider:Startup.cs
to register your new provider:options.SetRedirectionEndpointUris(
- // ... other providers...
- "callback/login/[provider name]");
-
// Register the Web providers integrations.
+// Register the Web providers integrations.
options.UseWebProviders()
// ... other providers...
.Use[provider name](options =>
diff --git a/manifest.json b/manifest.json
index 5bbddbb..a2059e7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1600,7 +1600,7 @@
"output": {
".html": {
"relative_path": "guides/contributing-a-new-web-provider.html",
- "hash": "0k6P3Ocg1GObvKezKHB8rw=="
+ "hash": "IvBnidz/TpH9TrBglYg5dQ=="
}
},
"is_incremental": false,