this is my sample application. GATEWAY is the entry point for all other applications. Basically it's the proxy. It's capable of csrf protection. When I access the url localhost:8080/login firstly csrf token is created for GATEWAY and then request is forwarded to backend service (UAA).
Problem is that UAA generates it's own token (_csrf) and one generated by GATEWAY in header as X-CSRF-TOKEN is completely different.
So how can I avoid this conflict? Is there any simple solution to share tokens between applications?
Thanks