{"action":"created","issue":{"url":"https://api.github.com/repos/angular/universal/issues/272","repository_url":"https://api.github.com/repos/angular/universal","labels_url":"https://api.github.com/repos/angular/universal/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/angular/universal/issues/272/comments","events_url":"https://api.github.com/repos/angular/universal/issues/272/events","html_url":"https://github.com/angular/universal/issues/272","id":133622278,"number":272,"title":"Create Universal Storage module","user":{"login":"gdi2290","id":1016365,"avatar_url":"https://avatars.githubusercontent.com/u/1016365?v=3","gravatar_id":"","url":"https://api.github.com/users/gdi2290","html_url":"https://github.com/gdi2290","followers_url":"https://api.github.com/users/gdi2290/followers","following_url":"https://api.github.com/users/gdi2290/following{/other_user}","gists_url":"https://api.github.com/users/gdi2290/gists{/gist_id}","starred_url":"https://api.github.com/users/gdi2290/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdi2290/subscriptions","organizations_url":"https://api.github.com/users/gdi2290/orgs","repos_url":"https://api.github.com/users/gdi2290/repos","events_url":"https://api.github.com/users/gdi2290/events{/privacy}","received_events_url":"https://api.github.com/users/gdi2290/received_events","type":"User","site_admin":false},"labels":[{"id":232741838,"url":"https://api.github.com/repos/angular/universal/labels/comp:%20universal","name":"comp: universal","color":"c7def8","default":false},{"id":246122491,"url":"https://api.github.com/repos/angular/universal/labels/effort1:%20easy%20(hour)","name":"effort1: easy (hour)","color":"bfe5bf","default":false},{"id":246613397,"url":"https://api.github.com/repos/angular/universal/labels/hotlist:%20community-help","name":"hotlist: community-help","color":"d4c5f9","default":false},{"id":280279516,"url":"https://api.github.com/repos/angular/universal/labels/P0:%20urgent","name":"P0: urgent","color":"f7c6c7","default":false},{"id":237468294,"url":"https://api.github.com/repos/angular/universal/labels/type:%20developer%20experience","name":"type: developer experience","color":"eeeeee","default":false},{"id":236722427,"url":"https://api.github.com/repos/angular/universal/labels/type:%20feature","name":"type: feature","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-02-15T04:49:28Z","updated_at":"2016-12-09T17:50:04Z","closed_at":null,"body":"we should allow users to use localStorage both in server/client\n"},"comment":{"url":"https://api.github.com/repos/angular/universal/issues/comments/266076757","html_url":"https://github.com/angular/universal/issues/272#issuecomment-266076757","issue_url":"https://api.github.com/repos/angular/universal/issues/272","id":266076757,"user":{"login":"wwelling","id":8352733,"avatar_url":"https://avatars.githubusercontent.com/u/8352733?v=3","gravatar_id":"","url":"https://api.github.com/users/wwelling","html_url":"https://github.com/wwelling","followers_url":"https://api.github.com/users/wwelling/followers","following_url":"https://api.github.com/users/wwelling/following{/other_user}","gists_url":"https://api.github.com/users/wwelling/gists{/gist_id}","starred_url":"https://api.github.com/users/wwelling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwelling/subscriptions","organizations_url":"https://api.github.com/users/wwelling/orgs","repos_url":"https://api.github.com/users/wwelling/repos","events_url":"https://api.github.com/users/wwelling/events{/privacy}","received_events_url":"https://api.github.com/users/wwelling/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T17:50:04Z","updated_at":"2016-12-09T17:50:04Z","body":"I have trashed all attempts thus far. \r\n\r\nHere is the project I would like to implement this is in: \r\n[Prometheu Universal](https://github.com/wellingWilliam/prometheus-universal)\r\n\r\nFor the following use cases assume that a user navigates to the app and it bootstraps the universal app on the client side. The user then logs in, which receives a token and is placed in localStorage and Universal Cache. The token is then used to request the user payload. At this time the server is unaware of the token and must be transferred via an http request, as specified by @gdi2290.\r\n\r\nUse cases:\r\n1. page refresh\r\n2. user navigates away and back\r\n3. remember me log in and favorite link for quick navigation\r\n\r\nI am able to send the token to the node server and store it in a map or a redis server. The problem is what key would I use to store it and how would a new request know what key to use to fetch the token.\r\n"}}
{"actor":{"display_login":"wwelling"}}