Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating to .net 8 breaks Bearer Token authorization

Tags:

.net-8.0

My implementation was working fine until updating to .net 8. Now I just get 401s.

Have tried all the answers to related SO questions to no avail

like image 448
Jimmy Avatar asked Oct 16 '25 20:10

Jimmy


1 Answers

I reverted the library Microsoft.AspNetCore.Authentication.JwtBearer back to 7.0.4 and that has fixed it.

8.0.0 just doesn't work lol.

like image 103
Jimmy Avatar answered Oct 19 '25 12:10

Jimmy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!