When someone is about to invoke magento REST API, he invokes magento API and starts authorization process. The authorization process is following: # User is redirected to magento. # User is offered to log in to magento. # After login user is offered to confirm that API call is permitted. We need to change it a bit. # On step 1, allow us to add user login/password as query parameters to redirect URL. # On step 2, magento should read login/password from query parameters and automatically submit the login form using login/password provided in query parameters. # On step 3, authomatically confirm every incoming request.