You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the serverless firebase auth example, there is an instruction to store the authentication token with something like express-session. However, express-session would only make sense in a scenario where there is a server, right? Not in a serverless environment.
I suppose we can use an external store, like connect-dynamodb, but, won't that mean every lambda will have to import code to query the external database?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In the serverless firebase auth example, there is an instruction to store the authentication token with something like
express-session
. However,express-session
would only make sense in a scenario where there is a server, right? Not in a serverless environment.I suppose we can use an external store, like connect-dynamodb, but, won't that mean every lambda will have to import code to query the external database?
https://github.com/zeit/next.js/blob/9baa103bb81ef0b6dceb6ccc78a772dda251e309/examples/with-firebase-authentication-serverless/pages/api/login.js#L12
Beta Was this translation helpful? Give feedback.
All reactions