DEV Community

Discussion on: Authenticate users with firebase and react.

Collapse
 
jcollyer profile image
jeremy collyer

can you use:
const token = await res.user.refreshToken
instead of:
const token = await Object.entries(res.user)[5][1].b
?