Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-100887

No 'Access-Control-Allow-Origin' header is present on the requested resource in Console log after click Obtain OAuth2 Access button

    Details

    • Branch Version/s:
      7.1.x
    • Fix Priority:
      3
    • JDK:
      Oracle Sun JDK 8
    • Sprint:
      Iteration 34

      Description

      Reproduction steps:

      1. Deploy a clean Liferay tomcat bundle

      2. Go to OAuth 2 Administration

      3. Add a OAuth 2 Application with abc123 as Client ID and Client Secret, http://martamedio.com/oauth2-tester/?url=http://localhost:8080&client_id=abc123 as Callback URLs

      4. Edit Scopes-check read your personal user data under Portal Services

      5. Open http://martamedio.com/oauth2-tester/ in brower and authorize my application

      6. Click Obtain OAuth2 Access after fill Client Secret

       

      Expected Result:

      Obtain OAuth2 access successfully

      Actual Result:

      No 'Access-Control-Allow-Origin' header is present on the requested resource error shows in Console log. see console log.png

       

        Attachments

          Activity

            People

            Assignee:
            della.wang Della Wang (Inactive)
            Reporter:
            della.wang Della Wang (Inactive)
            Participants of an Issue:
            Recent user:
            Della Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 6 weeks ago

                Packages

                Version Package
                7.1.X