Recommended use
The resource owner password credentials grant type is suitable in cases where the resource owner has a trust relationship with the client (e.g., a service’s own mobile client) and in situations where client can obtain the resource owner’s credentials. This grant type can be used in situations where a client application is unable to handle browser redirections.
The flow
Instead of redirecting the user to the authorization server, the client itself will ask the user for the resource owner's username and password. The client will then send these credentials to the authorisation server along with the client’s own credentials.
Support for refresh token grant - Yes
The cURL commands below can be used to try this grant type.
...