You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried inlining the GetSigningCredentials function in the CreateToken function above it and moved the using outside the if statement but the exception persisted. Then I just remove the using statement completely and my code worked fine.
Is this a bug in FastEndpoints or in the dotnet libraries?
I was trying out the Asymmetric signing style with FastEndpoints and ran into the following bug.
It is thrown in a simple LoginEndpoint:
I generated the keys with:
I thought it could be related to a using here:
FastEndpoints/Src/Security/JWTBearer.cs
Line 165 in 3ff2a61
I tried inlining the GetSigningCredentials function in the CreateToken function above it and moved the using outside the if statement but the exception persisted. Then I just remove the using statement completely and my code worked fine.
Is this a bug in FastEndpoints or in the dotnet libraries?
Relevant software:
FastEndpoints: 5.7.0
dotnet --version: 7.0.102
The text was updated successfully, but these errors were encountered: