Browse Source

Disable access token encryption in CIMD sandbox for easier debugging

pull/2416/head
Thor Arne Johansen 6 days ago
parent
commit
9da2b5a492
  1. 3
      sandbox/OpenIddict.Sandbox.AspNetCore.CimdServer/Program.cs

3
sandbox/OpenIddict.Sandbox.AspNetCore.CimdServer/Program.cs

@ -44,6 +44,9 @@ builder.Services.AddOpenIddict()
options.AddDevelopmentEncryptionCertificate() options.AddDevelopmentEncryptionCertificate()
.AddDevelopmentSigningCertificate(); .AddDevelopmentSigningCertificate();
// Disable access token encryption so tokens can be inspected during development.
options.DisableAccessTokenEncryption();
options.UseAspNetCore() options.UseAspNetCore()
.EnableAuthorizationEndpointPassthrough() .EnableAuthorizationEndpointPassthrough()
.EnableTokenEndpointPassthrough(); .EnableTokenEndpointPassthrough();

Loading…
Cancel
Save