Title: refresh_token missing when renew
Last modified: February 24, 2017

---

# refresh_token missing when renew

 *  Resolved [krystianj](https://wordpress.org/support/users/krystianj/)
 * (@krystianj)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/refresh_token-missing-when-renew/)
 * Hi,
    I’m refresh access_token based on my refresh_token but I don’t receive new
   refresh_token, only access_token.
 * I do everything from this link -> [https://wp-oauth.com/kb/using-the-refresh-token/](https://wp-oauth.com/kb/using-the-refresh-token/)
 * My return:
 *     ```
       {
         "access_token": "vwfcilnh2i9go7asdxfonthmzj8vleshl7blw4pf",
         "expires_in": 3600,
         "token_type": "Bearer",
         "scope": "basic"
       }
       ```
   
 * It is correctly return or I’am doing something wrong?
    -  This topic was modified 9 years, 3 months ago by [krystianj](https://wordpress.org/support/users/krystianj/).
    -  This topic was modified 9 years, 3 months ago by [krystianj](https://wordpress.org/support/users/krystianj/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [krystianj](https://wordpress.org/support/users/krystianj/)
 * (@krystianj)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/refresh_token-missing-when-renew/#post-8843349)
 * OK,
    I found the solution
 * `add_filter( 'wo_always_issue_new_refresh_token','__return_true' );`

Viewing 1 replies (of 1 total)

The topic ‘refresh_token missing when renew’ is closed to new replies.

 * ![](https://ps.w.org/oauth2-provider/assets/icon-256x256.gif?rev=2603051)
 * [WP OAuth Server (OAuth Authentication)](https://wordpress.org/plugins/oauth2-provider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/oauth2-provider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/oauth2-provider/)
 * [Active Topics](https://wordpress.org/support/plugin/oauth2-provider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/oauth2-provider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/oauth2-provider/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [krystianj](https://wordpress.org/support/users/krystianj/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/refresh_token-missing-when-renew/#post-8843349)
 * Status: resolved