mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-07-18 04:33:19 +08:00
Remove the explicit call to options.SetRedirectionEndpointUris() from the web providers guide
This commit is contained in:
parent
93336b1198
commit
f80849cc1d
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user