To Test the Remotely Deployed Provider

To test the remote provider, use the same curl command that you used for testing the provider you ran locally, except change localhost:8082 to the CloudHub URL https://auth-provider-testing.cloudhub.io for the provider, and of course, substitute your own base64-encoded credentials for NmJl…​RDYK1.

To test the provider, Windows users need to download tools that support curl.

curl -i -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Basic NmJl...RDYK" -d 'grant_type=password&username=max&password=mule' 'https://auth-provider-testing.cloudhub.io/external/access_token' -k

The output includes the access token and the expiration time in seconds:


Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!
Take our latest survey!