Firebase JWT not working with sprign security
When i create a user in my system, it creates an account in firebase auth. Then when I login in my front end, I receive the access token (JWT) that I want to use to authenticate the user with my API, the problem is for my POST /order route, I keep getting this message in my console when I send the request via Postman Securing POST /order
with a 401 unauthorized. I’m not sure why, I set the Jwtdecoder as googles, but i’m still having this problem. I’m also settting the jwt as bearer token in postman. Here’s my controller