firebase / firebase/firebase-js-sdk

How to use refresh token?

Open
#497 20 comments 0 reactions 0 assignees View on GitHub
api: auth documentation feature request
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

I'm using
```javascript
firebase.auth().signInWithCustomToken(this.props.sessionToken)
```
for 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).

How can I use https://developers.google.com/identity/toolkit/reference/securetoken/rest/v1/token with firebase-js-sdk?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.