RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: johnfrey
Here's an example of how to use the password grant type without a callback URL...
curl -i http://localhost:3000/oauth/access_token \
-F grant_type=password \
-F client_id=<client id> \
-F client_secret=<client secret> \
-F "scope=<scope>" \
-F firstname.lastname@example.org \
For this I'd recommend looking into using the password grant type which doesn't require setting a callback URL.