Hi Folks,
This is a question for anyone with experience working with RedComponent & Webservices.
I'm building out a webservice for an existing J component to allow a mobile app for a client. I have created an OAuth2 client and set the grant type to User Credentials (password for the actual OAuth2 grant type).
The user authentication is working just fine and the user get's their token and the relevant #__redcore_oauth_access_tokens table is updated and all looks peachy.
When I then try to hit the webservice for the read-list as soon as I set Authorization required I start getting back responses telling me I can't pass in an empty password. Any thoughts on where I'm going wrong? It's working fine when I leave Authorization required to No. Should I perhaps just leave it at No and validate the token myself in the getItems in the model?
Any pointers gratefully accepted as I feel like I'm going round in circles at the moment.
Eric.