Someone faced this problem: there is a front, there is a rest service and there is a map service (geoserver), as well as authorization (jwt) through the rest service. But in the end, the map service revolves separately and requests go to it without a key, therefore, as if not protected.
The essence of the question is: is it worth sending the keys with each request of the tile (256 * 256px), because there will be twice as many requests due to pre-fligth requests, therefore the download speed of the map will fall. Can anyone do this or come across?
Access-Control-Request-Headers: authorizationare connected like this, the brouser automatically makes the request complex. @Darth - Artsiom