maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
2 changed files with
22 additions and
0 deletions
-
docs/en/modules/openiddict-pro.md
-
docs/en/modules/openiddict.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 |
|
|
|
|
|
|
|
@ -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 |
|
|
|
|