{"action":"created","issue":{"url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/292","repository_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard","labels_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/292/comments","events_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/292/events","html_url":"https://github.com/ironmansoftware/universal-dashboard/issues/292","id":348535470,"node_id":"MDU6SXNzdWUzNDg1MzU0NzA=","number":292,"title":"-AutoRefresh keeps $User value, but not $Session values","user":{"login":"mkellerman","id":9411143,"node_id":"MDQ6VXNlcjk0MTExNDM=","avatar_url":"https://avatars3.githubusercontent.com/u/9411143?v=4","gravatar_id":"","url":"https://api.github.com/users/mkellerman","html_url":"https://github.com/mkellerman","followers_url":"https://api.github.com/users/mkellerman/followers","following_url":"https://api.github.com/users/mkellerman/following{/other_user}","gists_url":"https://api.github.com/users/mkellerman/gists{/gist_id}","starred_url":"https://api.github.com/users/mkellerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkellerman/subscriptions","organizations_url":"https://api.github.com/users/mkellerman/orgs","repos_url":"https://api.github.com/users/mkellerman/repos","events_url":"https://api.github.com/users/mkellerman/events{/privacy}","received_events_url":"https://api.github.com/users/mkellerman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-08T00:47:29Z","updated_at":"2018-08-08T00:48:23Z","closed_at":null,"author_association":"NONE","body":"I set a $Session:CUSTOMER_ID value when the user login's. Strangely, when i save the dashboard and it autorefreshes, it keeps me logged in, but looses Session variables. Here is what i do:\r\n\r\n```\r\n    if ($Credentials.UserName -eq \"guest\" -and $Credentials.GetNetworkCredential().Password -eq \"guest\") {\r\n        New-UDAuthenticationResult -Success -UserName \"Guest User\"\r\n        $SESSION:CUSTOMER_ID = 0\r\n    }\r\n```\r\n\r\nExpected behavior, when the site reloads, it should boot everyone out, or keep users session variables."},"comment":{"url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/comments/411248117","html_url":"https://github.com/ironmansoftware/universal-dashboard/issues/292#issuecomment-411248117","issue_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/292","id":411248117,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTI0ODExNw==","user":{"login":"mkellerman","id":9411143,"node_id":"MDQ6VXNlcjk0MTExNDM=","avatar_url":"https://avatars3.githubusercontent.com/u/9411143?v=4","gravatar_id":"","url":"https://api.github.com/users/mkellerman","html_url":"https://github.com/mkellerman","followers_url":"https://api.github.com/users/mkellerman/followers","following_url":"https://api.github.com/users/mkellerman/following{/other_user}","gists_url":"https://api.github.com/users/mkellerman/gists{/gist_id}","starred_url":"https://api.github.com/users/mkellerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkellerman/subscriptions","organizations_url":"https://api.github.com/users/mkellerman/orgs","repos_url":"https://api.github.com/users/mkellerman/repos","events_url":"https://api.github.com/users/mkellerman/events{/privacy}","received_events_url":"https://api.github.com/users/mkellerman/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T00:48:23Z","updated_at":"2018-08-08T00:48:23Z","author_association":"NONE","body":"Maybe there is a better way to associate information to the $User ?\r\n\r\nWould love a $AuthenticatedUser variable, that we can add custom properties or get the user info from database?!"}}
{"actor":{"display_login":"mkellerman"}}