Skip to content

Accept dotnet user-jwts tokens in Development - #115

Closed
stphnwlsh wants to merge 2 commits into
feature/refuse-deployed-without-authfrom
feature/development-tokens
Closed

stphnwlsh wants to merge 2 commits into
feature/refuse-deployed-without-authfrom
feature/development-tokens

Conversation

@stphnwlsh

Copy link
Copy Markdown
Member

Summary

With --include-auth, dotnet run now accepts tokens made by dotnet user-jwts, so you can try the protected app without your real authority. They only work in Development, because the key lives in user secrets and the issuer in appsettings.Development.json. docs/RUN.md gains a "Trying it with a token" section with the steps for Scalar and Presentation.http.

Related issues

Part of LeanMeanCleanApps/.github#35
Part of LeanMeanCleanApps/.github#42

Type of change

  • Bug fix
  • New feature
  • Breaking change (the generated solution or template parameters change in a way existing users will notice)
  • Refactoring or clean-up
  • Documentation
  • Build, pipeline or dependency update

Shared layers

  • This only touches the Presentation layer of this template.
  • This touches the Application or Infrastructure layers, tests, pipeline or repository setup, so it needs to be carried across all five templates.

Checklist

  • dotnet build and dotnet test pass locally with no warnings.
  • I added or updated tests, and line coverage stays at or above 95%.
  • I updated the README or docs where behaviour changed.
  • If this changes how we do something, I updated the matching skill in .agents/skills.
  • I checked the template still installs and creates a working solution (see CONTRIBUTING.md).

@stphnwlsh stphnwlsh self-assigned this Dec 5, 2026
@stphnwlsh

Copy link
Copy Markdown
Member Author

Folded into #116, which now carries the whole stack in one pull request.

@stphnwlsh stphnwlsh closed this Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant