Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Deploy test-oauth-portlet into DXP.
      2. Go to Product Menu -> Control Panel -> Configuration -> OAuth Admin.
      3. Click add button.
      4. Type in "oauth1" into Application Name.
      5. Type in "http://www.liferay.com" into Website URL.
      6. Type in "http://localhost:8080" into Callback URI.
      7. Click Save button.
      8. Click oauth1, remember Consumer Key and Consumer Secret.
      9. Go to Product Menu -> Navigation.
      10. Click kebab button near Public Pages -> Add Public Page.
      11. Type in "Test Page" into Application Name.
      12. Click Add Page button.
      13. In Test Page, click Add button.
      14. Under Applications search for "Test OAuth" portlet.
      15. Add it to the page.
      16. Enter Consumer Key and Consumer Secret into Key and Secret.
      17. Click Save button.
      18. Click Authorize Access.
      19. Click Grant Access button.
      20. Type in "liferay.com" under web-id.
      21. Click Test button.

      Expected result:
      Test successfully.

      Actual result:
      Test Results: Response code: 403. Error message shows in console:

      07:37:19,774 ERROR [http-nio-8080-exec-3][JSONWebServiceServiceAction:97] Access denied to com.liferay.portal.kernel.service.CompanyService#getCompanyByWebId

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.lee Brian Lee
                Reporter:
                harry.chai Harry Chai
                Participants of an Issue:
                Recent user:
                Harry Chai
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 39 weeks ago

                  Packages

                  Version Package