Posts by Italo Modesto Pereira • 1 point
2 posts
-
0
votes0
answers271
viewsQ: Problem extracting token from incoming request header in Spring boot. Httpservletrequest.getHeader("Authorization") == null;
I made a CRUD API using Spring boot and used authentication and authorization in this CRUD with JWT (JSON web token). I have a tokenFilter class in my API which is responsible for validating tokens…
-
0
votes0
answers67
viewsQ: Two questions regarding the use of the Corsregistry.allowOrigins() method
I’m trying to do a post type resquest with credentials (token) for my spring boot built api. But I’m having trouble specifying the source I pass as a parameter to the method…