0

I have a question about failed request when I call my secured API (spring boot).
Front app (Angular)
First, I call my /authenticate endpoint API to get the JWT (all is ok).
I put the JWT on the header request with Bearer in Authorization attribute, and when I call the protected API element with this JWT, I get a failed error. like this : Failed request

Postman :
When I test my API with Postman, All is OK. I can get the JWT, and put it in the header's request postman, and I get my /elements

Any idea why doesn't work with my angular app ?

Thanks for all.

0 Answers0