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

OAuth plugin should allow callback format to be URI so mobile applications could be registered

    Details

      Description

      OAuth portlet plugin should allow callback urls suitable for mobile applications what means collback url should be callback uri.

      Defined uri value should be validated using Validator.isUri method.

      Test scenario - registering consumer mobile application:
      1) login as admin (or user able to access OAuth Admin in Control panel)
      2) go to Control Panel>Portal>OAuth Admin
      3) click Add
      4) set name, description, access mode, web url
      5) in Callback URL set: liferay-sync://lpsync

      User is not able to continue registration since provided value is not valid URL. As mobile application deployed at device is designated by OS via URI, only way to define callbacks for mobile applications is to set this field to be URI.

      After change, test scenario should work with both URLs and URIs:

        Attachments

          Activity

            People

            • Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              igor.beslic Igor Beslic
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 5 weeks, 1 day ago

                Packages

                Version Package
                6.1.X EE