Skip to content

Cors is not handled #3

@Mohitrajranu

Description

@Mohitrajranu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions