I want to create a gateway service for my microservice app and I add the configs that mentioned in spring cloud gateway documentation to disable CORS in the gateway:
spring:
# GATEWAY CONFIG
cloud:
gateway:
globalcors:
corsConfigurations:
'[/**]':
allowedOrigins: "*"
allowedMethods: "*"
But I still get 403 Forbidden Error. Am I wrong in the configurations?