{"action":"created","issue":{"url":"https://api.github.com/repos/zmartzone/lua-resty-openidc/issues/223","repository_url":"https://api.github.com/repos/zmartzone/lua-resty-openidc","labels_url":"https://api.github.com/repos/zmartzone/lua-resty-openidc/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/zmartzone/lua-resty-openidc/issues/223/comments","events_url":"https://api.github.com/repos/zmartzone/lua-resty-openidc/issues/223/events","html_url":"https://github.com/zmartzone/lua-resty-openidc/issues/223","id":377233155,"node_id":"MDU6SXNzdWUzNzcyMzMxNTU=","number":223,"title":"Could not read session from cookie","user":{"login":"ShiningRush","id":24238012,"node_id":"MDQ6VXNlcjI0MjM4MDEy","avatar_url":"https://avatars1.githubusercontent.com/u/24238012?v=4","gravatar_id":"","url":"https://api.github.com/users/ShiningRush","html_url":"https://github.com/ShiningRush","followers_url":"https://api.github.com/users/ShiningRush/followers","following_url":"https://api.github.com/users/ShiningRush/following{/other_user}","gists_url":"https://api.github.com/users/ShiningRush/gists{/gist_id}","starred_url":"https://api.github.com/users/ShiningRush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShiningRush/subscriptions","organizations_url":"https://api.github.com/users/ShiningRush/orgs","repos_url":"https://api.github.com/users/ShiningRush/repos","events_url":"https://api.github.com/users/ShiningRush/events{/privacy}","received_events_url":"https://api.github.com/users/ShiningRush/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-05T02:59:07Z","updated_at":"2018-11-08T14:23:20Z","closed_at":null,"author_association":"NONE","body":"Hi, i'm using kong's plugin: nokia/oidc to authenticate my web site.\r\n\r\nI have already config oidc plugin and could redirect to my web service which is a nginx container that contains our web static files.\r\n\r\nThen i found a strange problem that after i access page some seconds, i need to refresh this page again or else page's static file ( such as js ) will load failed.\r\n\r\nThe chrome's network indicate the reason is that file request is redirect to oidc provider even there is still session in cookie.\r\n\r\nBecause the nokia/oidc is just a wrapper for lua-resty-openidc, so i think guys of here could know more clearly.\r\n\r\nhow much lua-resty-openidc  session's timeout and how to config it? the access-token of my oidc provider is one month.\r\n\r\nOr i should not use lua-resty-openidc in that way?\r\nAny idea is appreciated."},"comment":{"url":"https://api.github.com/repos/zmartzone/lua-resty-openidc/issues/comments/437010265","html_url":"https://github.com/zmartzone/lua-resty-openidc/issues/223#issuecomment-437010265","issue_url":"https://api.github.com/repos/zmartzone/lua-resty-openidc/issues/223","id":437010265,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzAxMDI2NQ==","user":{"login":"zandbelt","id":2339879,"node_id":"MDQ6VXNlcjIzMzk4Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/2339879?v=4","gravatar_id":"","url":"https://api.github.com/users/zandbelt","html_url":"https://github.com/zandbelt","followers_url":"https://api.github.com/users/zandbelt/followers","following_url":"https://api.github.com/users/zandbelt/following{/other_user}","gists_url":"https://api.github.com/users/zandbelt/gists{/gist_id}","starred_url":"https://api.github.com/users/zandbelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zandbelt/subscriptions","organizations_url":"https://api.github.com/users/zandbelt/orgs","repos_url":"https://api.github.com/users/zandbelt/repos","events_url":"https://api.github.com/users/zandbelt/events{/privacy}","received_events_url":"https://api.github.com/users/zandbelt/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T14:23:20Z","updated_at":"2018-11-08T14:23:20Z","author_association":"CONTRIBUTOR","body":"is it a `$session_secret` thing, see https://github.com/bungle/lua-resty-session/issues/15 ?"}}
{"actor":{"display_login":"zandbelt"}}