{"action":"created","issue":{"url":"https://api.github.com/repos/plone/plone.restapi/issues/109","repository_url":"https://api.github.com/repos/plone/plone.restapi","labels_url":"https://api.github.com/repos/plone/plone.restapi/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/plone/plone.restapi/issues/109/comments","events_url":"https://api.github.com/repos/plone/plone.restapi/issues/109/events","html_url":"https://github.com/plone/plone.restapi/pull/109","id":155980935,"number":109,"title":"Authentication","user":{"login":"buchi","id":270502,"avatar_url":"https://avatars.githubusercontent.com/u/270502?v=3","gravatar_id":"","url":"https://api.github.com/users/buchi","html_url":"https://github.com/buchi","followers_url":"https://api.github.com/users/buchi/followers","following_url":"https://api.github.com/users/buchi/following{/other_user}","gists_url":"https://api.github.com/users/buchi/gists{/gist_id}","starred_url":"https://api.github.com/users/buchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buchi/subscriptions","organizations_url":"https://api.github.com/users/buchi/orgs","repos_url":"https://api.github.com/users/buchi/repos","events_url":"https://api.github.com/users/buchi/events{/privacy}","received_events_url":"https://api.github.com/users/buchi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plone/plone.restapi/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-20T14:51:32Z","updated_at":"2016-05-21T16:32:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/plone/plone.restapi/pulls/109","html_url":"https://github.com/plone/plone.restapi/pull/109","diff_url":"https://github.com/plone/plone.restapi/pull/109.diff","patch_url":"https://github.com/plone/plone.restapi/pull/109.patch"},"body":"Provides a PAS plugin for JWT based authentication.\r\nProvides endpoints `/@login`, `/@logout` and `/@refresh-login`"},"comment":{"url":"https://api.github.com/repos/plone/plone.restapi/issues/comments/220787301","html_url":"https://github.com/plone/plone.restapi/pull/109#issuecomment-220787301","issue_url":"https://api.github.com/repos/plone/plone.restapi/issues/109","id":220787301,"user":{"login":"buchi","id":270502,"avatar_url":"https://avatars.githubusercontent.com/u/270502?v=3","gravatar_id":"","url":"https://api.github.com/users/buchi","html_url":"https://github.com/buchi","followers_url":"https://api.github.com/users/buchi/followers","following_url":"https://api.github.com/users/buchi/following{/other_user}","gists_url":"https://api.github.com/users/buchi/gists{/gist_id}","starred_url":"https://api.github.com/users/buchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buchi/subscriptions","organizations_url":"https://api.github.com/users/buchi/orgs","repos_url":"https://api.github.com/users/buchi/repos","events_url":"https://api.github.com/users/buchi/events{/privacy}","received_events_url":"https://api.github.com/users/buchi/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T16:32:42Z","updated_at":"2016-05-21T16:32:42Z","body":"Will add the documentation asap, although I'm quite busy the next week because we (4teamwork) are moving to a new office.\r\n\r\n@sneridagh Currently there's no automatic cleanup of stored tokens. I think we don't need that very much, because I see mainly two use cases:\r\n\r\n1. JS client authentication: In this case I would not store the token on the server at all, but let it expire after some time (e.g. 12h). That's the default configuration of the PAS plugin.\r\n\r\n2. Long term authentication token for apps: In this case the token should never expire, thus we need the ability to invalidate it. For this we have to store the token on the server. You can change the configuration of the PAS plugin to behave like this. The token can be manually deleted by calling the `@logout` endpoint."}}
{"actor":{"display_login":"buchi"}}