Skip to content

.NET 9: dotnet user-jwts not working #58996

Closed
@Zhiyuan-Amos

Description

@Zhiyuan-Amos

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I followed the MSDN and upon sending the HTTP Request with the Bearer token, the server returns 401. The WWW-Authenticate response header shows Bearer error="invalid_token", error_description="The signature key was not found".

Expected Behavior

Server returns 200.

Steps To Reproduce

Followed the exact steps in the MSDN

Exceptions (if any)

No response

.NET Version

9.0.100

Anything else?

RID: win-arm64
It used to work on .NET 8.

Metadata

Metadata

Assignees

Labels

area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIbugThis issue describes a behavior which is not expected - a bug.feature-userjwtsThe `dotnet user-jwts` CLI tool

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions