Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2546

Clarify cors configuration

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Out of the box, magnolia creates a CORS configuration like the following:

      server: 
        filters: 
          cors: 
            internal: 
              uris: 
                vaadin: 
                  patternString: /VAADIN/*
              allowedOrigins: 
                all: '*'
              allowedMethods: 
                all: '*'
              allowedHeaders: 
                all: '*'
              class: info.magnolia.cors.SelfConfiguredCorsFilter
            project: 
              class: info.magnolia.module.site.filters.SiteAwareCorsFilter
            op: OR
      

      The documentation disregards that the default cors filter is a Composite filter and no example fits together with what the User sees immediatly after bootstrapping.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdrapela Martin DrĂ¡pela
              jballmann Johannes Ballmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: