I am building a backend REST API in spring and my friend is building a Angular JS front end app to call my API.I have a token header with key Authorization and
Authorization
this can help you, Spring have differents way to configure Cors headers https://spring.io/guides/gs/rest-service-cors/