{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/497","repository_url":"https://api.github.com/repos/firebase/firebase-js-sdk","labels_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/497/comments","events_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/497/events","html_url":"https://github.com/firebase/firebase-js-sdk/issues/497","id":295461480,"number":497,"title":"How to use refresh token?","user":{"login":"wapgear","id":2028200,"avatar_url":"https://avatars0.githubusercontent.com/u/2028200?v=4","gravatar_id":"","url":"https://api.github.com/users/wapgear","html_url":"https://github.com/wapgear","followers_url":"https://api.github.com/users/wapgear/followers","following_url":"https://api.github.com/users/wapgear/following{/other_user}","gists_url":"https://api.github.com/users/wapgear/gists{/gist_id}","starred_url":"https://api.github.com/users/wapgear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wapgear/subscriptions","organizations_url":"https://api.github.com/users/wapgear/orgs","repos_url":"https://api.github.com/users/wapgear/repos","events_url":"https://api.github.com/users/wapgear/events{/privacy}","received_events_url":"https://api.github.com/users/wapgear/received_events","type":"User","site_admin":false},"labels":[{"id":610676068,"url":"https://api.github.com/repos/firebase/firebase-js-sdk/labels/Component-Auth","name":"Component-Auth","color":"c2bfe0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-08T10:36:59Z","updated_at":"2018-03-20T01:20:38Z","closed_at":null,"author_association":"NONE","body":"I'm using\r\n```javascript\r\nfirebase.auth().signInWithCustomToken(this.props.sessionToken)\r\n```\r\nfor login with custom session token, but I also want to use the refresh token to have user still auth after 1 hr (default time of expiring).\r\n\r\nHow can I use https://developers.google.com/identity/toolkit/reference/securetoken/rest/v1/token with firebase-js-sdk?"},"comment":{"url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/comments/374439810","html_url":"https://github.com/firebase/firebase-js-sdk/issues/497#issuecomment-374439810","issue_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/497","id":374439810,"user":{"login":"bojeil-google","id":13474811,"avatar_url":"https://avatars1.githubusercontent.com/u/13474811?v=4","gravatar_id":"","url":"https://api.github.com/users/bojeil-google","html_url":"https://github.com/bojeil-google","followers_url":"https://api.github.com/users/bojeil-google/followers","following_url":"https://api.github.com/users/bojeil-google/following{/other_user}","gists_url":"https://api.github.com/users/bojeil-google/gists{/gist_id}","starred_url":"https://api.github.com/users/bojeil-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojeil-google/subscriptions","organizations_url":"https://api.github.com/users/bojeil-google/orgs","repos_url":"https://api.github.com/users/bojeil-google/repos","events_url":"https://api.github.com/users/bojeil-google/events{/privacy}","received_events_url":"https://api.github.com/users/bojeil-google/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T01:20:38Z","updated_at":"2018-03-20T01:20:38Z","author_association":"CONTRIBUTOR","body":"Signing in with a custom token should create an indefinite session (returns a new refresh token which should be persisted locally). I don't know why you are getting null after one hour. I am not familiar with the angularfire library and would recommend you file a bug with the owners to investigate."}}
{"actor":{"display_login":"bojeil-google"}}