{"action":"created","issue":{"url":"https://api.github.com/repos/WP-API/OAuth2/issues/26","repository_url":"https://api.github.com/repos/WP-API/OAuth2","labels_url":"https://api.github.com/repos/WP-API/OAuth2/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/OAuth2/issues/26/comments","events_url":"https://api.github.com/repos/WP-API/OAuth2/issues/26/events","html_url":"https://github.com/WP-API/OAuth2/issues/26","id":240056251,"node_id":"MDU6SXNzdWUyNDAwNTYyNTE=","number":26,"title":"Add refresh tokens and expiration","user":{"login":"rmccue","id":21655,"node_id":"MDQ6VXNlcjIxNjU1","avatar_url":"https://avatars3.githubusercontent.com/u/21655?v=4","gravatar_id":"","url":"https://api.github.com/users/rmccue","html_url":"https://github.com/rmccue","followers_url":"https://api.github.com/users/rmccue/followers","following_url":"https://api.github.com/users/rmccue/following{/other_user}","gists_url":"https://api.github.com/users/rmccue/gists{/gist_id}","starred_url":"https://api.github.com/users/rmccue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmccue/subscriptions","organizations_url":"https://api.github.com/users/rmccue/orgs","repos_url":"https://api.github.com/users/rmccue/repos","events_url":"https://api.github.com/users/rmccue/events{/privacy}","received_events_url":"https://api.github.com/users/rmccue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"almirbi","id":6254473,"node_id":"MDQ6VXNlcjYyNTQ0NzM=","avatar_url":"https://avatars3.githubusercontent.com/u/6254473?v=4","gravatar_id":"","url":"https://api.github.com/users/almirbi","html_url":"https://github.com/almirbi","followers_url":"https://api.github.com/users/almirbi/followers","following_url":"https://api.github.com/users/almirbi/following{/other_user}","gists_url":"https://api.github.com/users/almirbi/gists{/gist_id}","starred_url":"https://api.github.com/users/almirbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almirbi/subscriptions","organizations_url":"https://api.github.com/users/almirbi/orgs","repos_url":"https://api.github.com/users/almirbi/repos","events_url":"https://api.github.com/users/almirbi/events{/privacy}","received_events_url":"https://api.github.com/users/almirbi/received_events","type":"User","site_admin":false},"assignees":[{"login":"almirbi","id":6254473,"node_id":"MDQ6VXNlcjYyNTQ0NzM=","avatar_url":"https://avatars3.githubusercontent.com/u/6254473?v=4","gravatar_id":"","url":"https://api.github.com/users/almirbi","html_url":"https://github.com/almirbi","followers_url":"https://api.github.com/users/almirbi/followers","following_url":"https://api.github.com/users/almirbi/following{/other_user}","gists_url":"https://api.github.com/users/almirbi/gists{/gist_id}","starred_url":"https://api.github.com/users/almirbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almirbi/subscriptions","organizations_url":"https://api.github.com/users/almirbi/orgs","repos_url":"https://api.github.com/users/almirbi/repos","events_url":"https://api.github.com/users/almirbi/events{/privacy}","received_events_url":"https://api.github.com/users/almirbi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-07-03T02:57:28Z","updated_at":"2018-06-19T08:42:36Z","closed_at":null,"author_association":"MEMBER","body":"Access tokens need to support expiration, and refresh tokens need to be issued to clients during the regular flow.\r\n\r\nhttps://tools.ietf.org/html/rfc6749#section-6"},"comment":{"url":"https://api.github.com/repos/WP-API/OAuth2/issues/comments/398322293","html_url":"https://github.com/WP-API/OAuth2/issues/26#issuecomment-398322293","issue_url":"https://api.github.com/repos/WP-API/OAuth2/issues/26","id":398322293,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODMyMjI5Mw==","user":{"login":"spacedmonkey","id":237508,"node_id":"MDQ6VXNlcjIzNzUwOA==","avatar_url":"https://avatars0.githubusercontent.com/u/237508?v=4","gravatar_id":"","url":"https://api.github.com/users/spacedmonkey","html_url":"https://github.com/spacedmonkey","followers_url":"https://api.github.com/users/spacedmonkey/followers","following_url":"https://api.github.com/users/spacedmonkey/following{/other_user}","gists_url":"https://api.github.com/users/spacedmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/spacedmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacedmonkey/subscriptions","organizations_url":"https://api.github.com/users/spacedmonkey/orgs","repos_url":"https://api.github.com/users/spacedmonkey/repos","events_url":"https://api.github.com/users/spacedmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/spacedmonkey/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T08:42:35Z","updated_at":"2018-06-19T08:42:35Z","author_association":"NONE","body":"On the oauth 1 plugin, I discuss making access token to post instead of options. See https://github.com/WP-API/OAuth1/issues/215#issuecomment-398117262 . If expirey is implemented here, it might be worth, doing the same. The post created / updated dates would be extremely useful to work out when tokens were created. "}}
{"actor":{"display_login":"spacedmonkey"}}