{"action":"created","issue":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/598","labels_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/598/comments","events_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/598/events","html_url":"https://github.com/bshaffer/oauth2-server-php/pull/598","id":80980753,"number":598,"title":"Allow configurable access_lifetime and refresh_token_lifetime for default JWT tokens","user":{"login":"quintonparker","id":220108,"avatar_url":"https://avatars.githubusercontent.com/u/220108?v=3","gravatar_id":"","url":"https://api.github.com/users/quintonparker","html_url":"https://github.com/quintonparker","followers_url":"https://api.github.com/users/quintonparker/followers","following_url":"https://api.github.com/users/quintonparker/following{/other_user}","gists_url":"https://api.github.com/users/quintonparker/gists{/gist_id}","starred_url":"https://api.github.com/users/quintonparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quintonparker/subscriptions","organizations_url":"https://api.github.com/users/quintonparker/orgs","repos_url":"https://api.github.com/users/quintonparker/repos","events_url":"https://api.github.com/users/quintonparker/events{/privacy}","received_events_url":"https://api.github.com/users/quintonparker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T14:14:39Z","updated_at":"2015-05-26T15:12:25Z","closed_at":"2015-05-26T15:12:12Z","pull_request":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/598","html_url":"https://github.com/bshaffer/oauth2-server-php/pull/598","diff_url":"https://github.com/bshaffer/oauth2-server-php/pull/598.diff","patch_url":"https://github.com/bshaffer/oauth2-server-php/pull/598.patch"},"body":"Allows the default access_lifetime and refresh_token_lifetime values to be overriden when default JWT tokens are implied in the following OAuth2\\Server configuration\r\n\r\n```\r\n$server = new OAuth2\\Server($storage, array(\r\n    'always_issue_new_refresh_token' => true,\r\n    'access_lifetime' => 316,\r\n    'refresh_token_lifetime' => 499,\r\n    'use_jwt_access_tokens' => true\r\n));\r\n```\r\n\r\nWithout this patch the specified access_lifetime and refresh_token_lifetime values is ignored"},"comment":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/comments/105559252","html_url":"https://github.com/bshaffer/oauth2-server-php/pull/598#issuecomment-105559252","issue_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/598","id":105559252,"user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T15:12:25Z","updated_at":"2015-05-26T15:12:25Z","body":"Good catch, thanks!"}}