{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/458","repository_url":"https://api.github.com/repos/feathersjs/feathers-authentication","labels_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/458/comments","events_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/458/events","html_url":"https://github.com/feathersjs/feathers-authentication/issues/458","id":215977864,"number":458,"title":"Overriding JWT's expiresIn with a value more than 20d prevents users from signing in","user":{"login":"johncrisostomo","id":15031664,"avatar_url":"https://avatars2.githubusercontent.com/u/15031664?v=3","gravatar_id":"","url":"https://api.github.com/users/johncrisostomo","html_url":"https://github.com/johncrisostomo","followers_url":"https://api.github.com/users/johncrisostomo/followers","following_url":"https://api.github.com/users/johncrisostomo/following{/other_user}","gists_url":"https://api.github.com/users/johncrisostomo/gists{/gist_id}","starred_url":"https://api.github.com/users/johncrisostomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johncrisostomo/subscriptions","organizations_url":"https://api.github.com/users/johncrisostomo/orgs","repos_url":"https://api.github.com/users/johncrisostomo/repos","events_url":"https://api.github.com/users/johncrisostomo/events{/privacy}","received_events_url":"https://api.github.com/users/johncrisostomo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ekryski","id":599019,"avatar_url":"https://avatars0.githubusercontent.com/u/599019?v=3","gravatar_id":"","url":"https://api.github.com/users/ekryski","html_url":"https://github.com/ekryski","followers_url":"https://api.github.com/users/ekryski/followers","following_url":"https://api.github.com/users/ekryski/following{/other_user}","gists_url":"https://api.github.com/users/ekryski/gists{/gist_id}","starred_url":"https://api.github.com/users/ekryski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekryski/subscriptions","organizations_url":"https://api.github.com/users/ekryski/orgs","repos_url":"https://api.github.com/users/ekryski/repos","events_url":"https://api.github.com/users/ekryski/events{/privacy}","received_events_url":"https://api.github.com/users/ekryski/received_events","type":"User","site_admin":false},"assignees":[{"login":"ekryski","id":599019,"avatar_url":"https://avatars0.githubusercontent.com/u/599019?v=3","gravatar_id":"","url":"https://api.github.com/users/ekryski","html_url":"https://github.com/ekryski","followers_url":"https://api.github.com/users/ekryski/followers","following_url":"https://api.github.com/users/ekryski/following{/other_user}","gists_url":"https://api.github.com/users/ekryski/gists{/gist_id}","starred_url":"https://api.github.com/users/ekryski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekryski/subscriptions","organizations_url":"https://api.github.com/users/ekryski/orgs","repos_url":"https://api.github.com/users/ekryski/repos","events_url":"https://api.github.com/users/ekryski/events{/privacy}","received_events_url":"https://api.github.com/users/ekryski/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-03-22T07:40:55Z","updated_at":"2017-05-03T14:15:25Z","closed_at":null,"body":"**UPDATE:** I forked this and tried running the tests locally, inspecting the tokens generated, and they seem to have a correct `exp` value. What gives?\r\n\r\nI am trying to make a token expire a little longer than the default '1d', however, when I try a value greater than '20d', users are no longer able to sign in the app. I noticed that on the `utils.js` test cases, a value of '1y' was used but the token created was never 'asserted' to have a valid `exp` value.\r\n\r\nI am aware that having a long enough token expiry is bad for security reasons, but I am just curious why this is not working properly.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/comments/298923714","html_url":"https://github.com/feathersjs/feathers-authentication/issues/458#issuecomment-298923714","issue_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/458","id":298923714,"user":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars1.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"created_at":"2017-05-03T14:15:25Z","updated_at":"2017-05-03T14:15:25Z","body":"@asdacap thanks for figuring that out.  Would you mind creating a PR with long-timeout?"}}
{"actor":{"display_login":"marshallswain"}}