Remove the explicit call to options.SetRedirectionEndpointUris() from the web providers guide

This commit is contained in:
Kévin Chalet 2022-12-26 19:10:34 +01:00
parent 93336b1198
commit f80849cc1d

View File

@ -156,13 +156,7 @@ the OpenIddict client to communicate with the remote authorization server. For i
If the targeted service is fully standard-compliant, no additional configuration should be required at this point. 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: To confirm it, build the solution and add the new provider to the `OpenIddict.Sandbox.AspNetCore.Client` sandbox:
- Update `Startup.cs` to use your new provider: - Update `Startup.cs` to register your new provider:
```csharp
options.SetRedirectionEndpointUris(
// ... other providers...
"callback/login/[provider name]");
```
```csharp ```csharp
// Register the Web providers integrations. // Register the Web providers integrations.