I bumped into this problem After i did not explicitly ask for "offline" access when sending the person towards the OAuth "Do you need to give this application permission to the touch your things?" website page. Stack Exchange network includes 183 Q&A communities which includes Stack Overflow, the most important, https://onlineayurvedichealthcare.wordpress.com/