Browse Source

Update `openiddict.md`.

pull/20379/head
maliming 2 years ago
parent
commit
6012177843
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  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. This can be disabled if needed.
```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. This can be disabled if needed.
```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