Browse Source

Merge pull request #20379 from abpframework/openiddict.md

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

11
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<OpenIddictServerAspNetCoreOptions>(options =>
{
options.DisableTransportSecurityRequirement = true;
});
```
https://documentation.openiddict.com/configuration/token-formats.html#disabling-jwt-access-token-encryption
### Request/Response Process

11
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<OpenIddictServerAspNetCoreOptions>(options =>
{
options.DisableTransportSecurityRequirement = true;
});
```
https://documentation.openiddict.com/configuration/token-formats.html#disabling-jwt-access-token-encryption
### Request/Response Process

Loading…
Cancel
Save