Browse Source

update openiddict.md

pull/20379/head
Engincan VESKE 2 years ago
committed by GitHub
parent
commit
f05b87b54a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/modules/openiddict-pro.md
  2. 2
      docs/en/modules/openiddict.md

2
docs/en/modules/openiddict-pro.md

@ -417,7 +417,7 @@ public override void PreConfigureServices(ServiceConfigurationContext context)
### Disable Transport Security Requirement
By default, OpenIddict requires the use of HTTPS for all endpoints. This can be disabled if needed.
By default, OpenIddict requires the use of HTTPS for all endpoints. You can disable it if it's needed. You just need to configure the `OpenIddictServerAspNetCoreOptions` and set `DisableTransportSecurityRequirement` as **true**:
```cs
Configure<OpenIddictServerAspNetCoreOptions>(options =>

2
docs/en/modules/openiddict.md

@ -377,7 +377,7 @@ public override void PreConfigureServices(ServiceConfigurationContext context)
### Disable Transport Security Requirement
By default, OpenIddict requires the use of HTTPS for all endpoints. This can be disabled if needed.
By default, OpenIddict requires the use of HTTPS for all endpoints. You can disable it if it's needed. You just need to configure the `OpenIddictServerAspNetCoreOptions` and set `DisableTransportSecurityRequirement` as **true**:
```cs
Configure<OpenIddictServerAspNetCoreOptions>(options =>

Loading…
Cancel
Save