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

REST OAuth2 Resource Owner Password Credentials returns Invalid_grant if user is not an Administrator role

    Details

    • Fix Priority:
      4

      Description

      I've created an "OAuth2 Administration" application which has access to my JAX RS REST services. I've got "Resource Owner Password Credentials" as the allowed authorization types. However unless the user has an Administrator role the o/oauth2/token service returns "Invalid_grant". 

      Works above when the user has the administrator role. I then remove that role from the user and I receive invalid_grant.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  21 weeks ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  Master