Add PKCE to swagger.. Missing after refactor

This commit is contained in:
Bjarke Berg
2023-05-24 13:15:37 +02:00
parent b5ed4ea43a
commit 803e1be7dd

View File

@@ -61,6 +61,9 @@ public static class UmbracoBuilderApiExtensions
{
swaggerUiOptions.SwaggerEndpoint($"{name}/swagger.json", $"{apiInfo.Title}");
}
swaggerUiOptions.OAuthClientId(Constants.OauthClientIds.Swagger);
swaggerUiOptions.OAuthUsePkce();
});
}
},