You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When submitting request from frontend , cors issue is getting triggered although it can be resolved if in the ResourceServerConfig.java you can add Cors configurationSource bean and in http.cors() and also in the api gateway class add CorsFilter class and annotate it as @component. After doing this for catalog product service we no longer get cors policy issue but the same code is not working when we call signup service as we get error Request header field authorization is not allowed by Access-Control-Allow-Headers , although we have added the said Authorization headers in cors configuration , but when account/oauth/token api is called at time of registering user we get the error
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
When submitting request from frontend , cors issue is getting triggered although it can be resolved if in the ResourceServerConfig.java you can add Cors configurationSource bean and in http.cors() and also in the api gateway class add CorsFilter class and annotate it as @component. After doing this for catalog product service we no longer get cors policy issue but the same code is not working when we call signup service as we get error Request header field authorization is not allowed by Access-Control-Allow-Headers , although we have added the said Authorization headers in cors configuration , but when account/oauth/token api is called at time of registering user we get the error
The text was updated successfully, but these errors were encountered: