diff --git a/docs/en/modules/openiddict-pro.md b/docs/en/modules/openiddict-pro.md index e2c2715d62..b9102cee6d 100644 --- a/docs/en/modules/openiddict-pro.md +++ b/docs/en/modules/openiddict-pro.md @@ -415,6 +415,17 @@ public override void PreConfigureServices(ServiceConfigurationContext context) } ``` +### Disable Transport Security Requirement + +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(options => +{ + options.DisableTransportSecurityRequirement = true; +}); +``` + https://documentation.openiddict.com/configuration/token-formats.html#disabling-jwt-access-token-encryption ### Request/Response Process diff --git a/docs/en/modules/openiddict.md b/docs/en/modules/openiddict.md index 0d126b42c0..80f1a54776 100644 --- a/docs/en/modules/openiddict.md +++ b/docs/en/modules/openiddict.md @@ -375,6 +375,17 @@ public override void PreConfigureServices(ServiceConfigurationContext context) } ``` +### Disable Transport Security Requirement + +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(options => +{ + options.DisableTransportSecurityRequirement = true; +}); +``` + https://documentation.openiddict.com/configuration/token-formats.html#disabling-jwt-access-token-encryption ### Request/Response Process