Uploaded image for project: 'Magnolia GraphQL'
  1. Magnolia GraphQL
  2. MGNLGQL-164

GraphQL in 6.3: Cannot access GraphQL app and GraphQL API

XMLWordPrintable

      With "superuser" account users cannot access GraphQL app or GraphQL API.

      Steps to reproduce:
      1. Run dx-core webapp and login with "superuser" account
      2. Access GraphQL app or call GraphQL API

       

      Actual result:
      GraphQL app: The user is redirected to the login page

      GraphQL API: The user gets 403 response status code

       

      Expected result: 
      The user should be able to access both GraphQL app and GraphQL API

      Workaround:
      1. Grant web access permission "/.*" in Security app to superuser

      2. Another way is that we can create a new user account with superuser role and then use the user to access GraphQL

      Note:

      The issue is that "superuser" account does not have permission to access "./*" url pattern.

      See logs below:

       

        Acceptance criteria

              thien.quach Quach Hao Thien
              anh.vu Anh Vu
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1.75d
                    1.75d