• Resolved krystianj

    (@krystianj)


    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/

    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.
    • This topic was modified 9 years, 3 months ago by krystianj.
Viewing 1 replies (of 1 total)
  • Thread Starter krystianj

    (@krystianj)

    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.