[Firebase auth] Getting JWT into redwoodjs

Hi everyone,

im trying to get other auth methods in firebase working in my redwood app (such as phone number and passwordless). i already have the JWT from my login screen but i want to “inject” that into redwood (such that redwood will know to try to fetch currentUser with a decoded jwt)

ie, i have the JWT but from Redwood’s perspective the user isnt “logged In” yet, im looking for an idiomatic way to make it so

im trying to use signUp/login with custom token but that doesnt seem to work (says invalid token)

maybe i should also be trying to hit a callback url with my jwt but im not sure where i should be calling to do that

any help would be much appreciated! Thanks!