{"action":"created","issue":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/766","repository_url":"https://api.github.com/repos/bshaffer/oauth2-server-php","labels_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/766/comments","events_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/766/events","html_url":"https://github.com/bshaffer/oauth2-server-php/issues/766","id":179325706,"number":766,"title":"refresh token not bounded to a specific access token ?","user":{"login":"iNDicat0r","id":13126311,"avatar_url":"https://avatars.githubusercontent.com/u/13126311?v=3","gravatar_id":"","url":"https://api.github.com/users/iNDicat0r","html_url":"https://github.com/iNDicat0r","followers_url":"https://api.github.com/users/iNDicat0r/followers","following_url":"https://api.github.com/users/iNDicat0r/following{/other_user}","gists_url":"https://api.github.com/users/iNDicat0r/gists{/gist_id}","starred_url":"https://api.github.com/users/iNDicat0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNDicat0r/subscriptions","organizations_url":"https://api.github.com/users/iNDicat0r/orgs","repos_url":"https://api.github.com/users/iNDicat0r/repos","events_url":"https://api.github.com/users/iNDicat0r/events{/privacy}","received_events_url":"https://api.github.com/users/iNDicat0r/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-26T20:13:30Z","updated_at":"2016-09-26T20:43:14Z","closed_at":"2016-09-26T20:43:14Z","body":"refresh_token seems not to be bounded to the access token which it was generated for. I have noticed this by looking at the refresh_token table which is related using the user_id only.\r\n\r\nSo lets say user x has got 2 access token of grant_type=password . Technically each token has it's expiration date which i bounded to the refreshtoken. what happen if i want to refresh token 1 ?"},"comment":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/comments/249691535","html_url":"https://github.com/bshaffer/oauth2-server-php/issues/766#issuecomment-249691535","issue_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/766","id":249691535,"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":"2016-09-26T20:43:14Z","updated_at":"2016-09-26T20:43:14Z","body":"@iNDicat0r when you use the Refresh Token, you receive an entirely new Access Token. There is no concept of refreshing a specific access token, so binding is not necessary."}}
{"actor":{"display_login":"bshaffer"}}