✅ JWT question

I can generate a token fine. However when I use the token, it refuses to work.
If anyone is kind enough to look into https://github.com/atabegruslan/AspNetJwt and tell me what I missed, many thanks.
I am beginner so the code isn't complicated.

I know that [Authorize] is causing the fail. But Im pretty sure that it has to be there. https://github.com/atabegruslan/AspNetJwt/blob/master/NetJwt/Controllers/HomeController.cs#L6
image_2024_02_20T15_49_03_419Z.png
image_2024_02_20T15_49_28_953Z.png
Was this page helpful?