Relative Content

Tag Archive for springkotlinspring-security

403 Unauthorized for every request in Spring

I have added a Custom filter to retrieve and validate the firebase jwt token in my request. I’m trying to test an unauthorized endpoint which is /api/v1/order/hi, but unfortunately for me, I get a 403 Unauthorized even tho the endpoint is “permitall” and I get a 403 on every endpoint. I tried commenting out the addFilterBefore line in my Security config, but I still get the same result. It seems the issue isn’t with the filter? I disabled csrf and all.