DEV Community

Discussion on: Building REST APIs In .NET 8 The Easy Way!

Collapse
 
djnitehawk profile image
Dĵ ΝιΓΞΗΛψΚ • Edited

planning to write those articles in the future as time permits. however, the documentation is quite easy to follow in the meantime if you're interested. thanks!

Collapse
 
msoffsite profile image
Mark Stone

Yeah, no, it isn't. I've successfully generated a token and am trying to access a simple endpoint without request that is a get and returns only a string. I followed the example given at fast-endpoints.com/docs/security#s.... JWT authorizes fine but I am getting a 401 and 403. According to fast-endpoints.com/docs/swagger-su..., because AllowAnonymous isn't within the configure method and the 403 because something is forbidden but who knows what.

Thread Thread
 
djnitehawk profile image
Dĵ ΝιΓΞΗΛψΚ

probably a minor misconfiguration issue. pls create a support ticket with repro code either on discord or github. we'll get you sorted 😉

Thread Thread
 
msoffsite profile image
Mark Stone

I was able to get it fixed. Turned out it was the policy portion that messed me up a bit.