I have a problem about sending any request to the relevant service without the usage of bearer token.
After I registered, user information is created in user table. When I login, bearer token and refresh token as well as other information information is shown in the postman.
I can send a request without the usage of bearer token.
What I really want to do is to send any request to other service after authentication.
I get this issue "An expected CSRF token cannot be found (403 Forbidden)" when I send a request through the port number of api gateway.
I think there can be problem in api gateway but I couldn't solve it?
How can I do that? I updated my repository : https://github.com/Rapter1990/microservicecoursedailybuffer
#Spring Cloud API Gateway Issue
7 messages · Page 1 of 1 (latest)
if you use Spring Security, every POST request requires a CSRF token
you can disable that iff you do not use cookies for authentication
I already disabled in auth service.
@everyone
lol that doesn't work
the auth service is not csrf