I recently moved my codebase onto a new development org, and had to switch from "Remote Access" configuration to "Connected Apps" for my OAuth2 Web Services flow.
After getting everything set up, I found that I was no longer getting a refresh token in response to my request. The access_token works, but I assume it will eventually expire.
Is this because my Connected App configuration is still in a "Pending" state? I'm not ready to establish a namespace for development (a requirement for publishing a Connected App, according to this question), and I assume that's why the app is listed as Pending.