• Hello,
    i have a problem validating the token…
    I got the “The jwt parameter is missing” error when i try each of these ways:

    1) $simpleJwtLogin->validateToken($jwt)

    2) wp_remote_get('https://website.x/?rest_route=/app/v1/auth/validate&JWT=' . $token)

    After a lot of try and die, i had success by using this:

    wp_remote_get('https://website.x/?rest_route=/app/v1/auth/validate&JWT=' . $token, array('headers' => array('Authorization' => 'Bearer '.$token)));

    Why this? In your setting page is suggested to use “https://website.x /?rest_route=/app/v1/auth/validate&JWT=YOUR_JWT”

    Anyway, very good job, this is a useful plugin!

  • The topic ‘error “The `jwt` parameter is missing” on validate’ is closed to new replies.