markjprice / apps-services-net8

Repository for the Packt Publishing book titled "Apps and Services with .NET 8" by Mark J. Price
95 stars 47 forks source link

Comments in json docs cause issues for JWT creation. #6

Closed Pip1987 closed 4 months ago

Pip1987 commented 4 months ago

Creating a JWT token as shown on page 652; dotnet user-jwts create results in '/' is an invalid start of a property name. Expected a '"'. Path: $ | LineNumber: 5 | BytePositionInLine: 6. if you have any comments in appsettings.json, appsettings.Development.json, or launchSettings.json.

markjprice commented 4 months ago

Thanks! I have added an errata item about this: https://github.com/markjprice/apps-services-net8/blob/main/docs/errata/errata.md#page-328---configuring-http-logging-for-the-web-service-and-page-363---authenticating-service-clients-using-jwt-bearer-authentication