Lifetime access token < 3h
-
When I user wo_get_access_token_expires_return to modify the expiration time of the access token, it works fine as long as I set a longer lifetime. But shortening it to 2 hours or 60 seconds throws an error:
$response->setError( 400, ‘invalid_request’, ‘Invalid token’, ‘https://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-7.2’);
class-wo-api.php line 411
Is this expected behavior? I wanted to set it to only about 60 seconds to test refresh tokens.
- The topic ‘Lifetime access token < 3h’ is closed to new replies.