{"action":"created","issue":{"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/129","repository_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth","labels_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/129/comments","events_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/129/events","html_url":"https://github.com/Tmeister/wp-api-jwt-auth/issues/129","id":382501075,"node_id":"MDU6SXNzdWUzODI1MDEwNzU=","number":129,"title":"Sometimes it shows i'm logged in, sometimes not","user":{"login":"botoxparty","id":24580068,"node_id":"MDQ6VXNlcjI0NTgwMDY4","avatar_url":"https://avatars1.githubusercontent.com/u/24580068?v=4","gravatar_id":"","url":"https://api.github.com/users/botoxparty","html_url":"https://github.com/botoxparty","followers_url":"https://api.github.com/users/botoxparty/followers","following_url":"https://api.github.com/users/botoxparty/following{/other_user}","gists_url":"https://api.github.com/users/botoxparty/gists{/gist_id}","starred_url":"https://api.github.com/users/botoxparty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botoxparty/subscriptions","organizations_url":"https://api.github.com/users/botoxparty/orgs","repos_url":"https://api.github.com/users/botoxparty/repos","events_url":"https://api.github.com/users/botoxparty/events{/privacy}","received_events_url":"https://api.github.com/users/botoxparty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-20T04:59:44Z","updated_at":"2018-11-20T23:08:29Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\n\r\nI'm having an issue where if I had just logged in, then everything works fine, but sometimes if I close the window or return to the site at a later time then WP API doesn't recognise me as a logged in user.\r\n\r\ne.g. I have an endpoint that returns the current logged in user's details, sometimes it will return null. The headers are definitely being passed.\r\n\r\nHaving a hard time debugging this, could the API be using cookies or something and expiring them? This could be an issue with logging into the admin panel as well as through JWT Auth at the same time as the only users I have tried are admin users.\r\n\r\nAny ideas or suggestions?"},"comment":{"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/comments/440461678","html_url":"https://github.com/Tmeister/wp-api-jwt-auth/issues/129#issuecomment-440461678","issue_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/129","id":440461678,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDQ2MTY3OA==","user":{"login":"botoxparty","id":24580068,"node_id":"MDQ6VXNlcjI0NTgwMDY4","avatar_url":"https://avatars1.githubusercontent.com/u/24580068?v=4","gravatar_id":"","url":"https://api.github.com/users/botoxparty","html_url":"https://github.com/botoxparty","followers_url":"https://api.github.com/users/botoxparty/followers","following_url":"https://api.github.com/users/botoxparty/following{/other_user}","gists_url":"https://api.github.com/users/botoxparty/gists{/gist_id}","starred_url":"https://api.github.com/users/botoxparty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botoxparty/subscriptions","organizations_url":"https://api.github.com/users/botoxparty/orgs","repos_url":"https://api.github.com/users/botoxparty/repos","events_url":"https://api.github.com/users/botoxparty/events{/privacy}","received_events_url":"https://api.github.com/users/botoxparty/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T23:08:29Z","updated_at":"2018-11-20T23:08:29Z","author_association":"NONE","body":"@jon1wt Sorry but I'm not really sure what you're talking about.\r\n\r\nOf course i'm storing my tokens in localstorage on login? I'm using Angular so i'm not writing any jquery/ajax stuff.\r\n\r\nI feel like this issue is more that WP is decommissioning my tokens once the user logs in somewhere else or something."}}
{"actor":{"display_login":"botoxparty"}}