Affects Version/s: 6.1.X EE
Fix Version/s: 6.1.X EE
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: