Comments (3)
Over two years of inactivity, seems not to be important at this point. Will reopen if it ever comes up.
from firebase-module.
@lupas
I might have a need for something like this:
I have auth ssr enabled and a serverMiddleware with an endpoint that makes a query on a SQL database. I want this query to be restricted to rows owned by the logged in user (i.e. the rows should have a column with the user's uid). Which means I need a secure way of knowing the currently logged in user's uid in my serverMiddleware.
If I understand things correctly, because serverMIddleware runs first, we don't have access to the decoded token (no res.locals populated yet). Is my only option to pass the token from the client with the call to the serverMiddleware endpoint, and decode the token manually there? Are there other options?
from firebase-module.
Is there any update on it?
I want to make APIs for the firebase store so I want to use nuxt-fire in ServerMiddleware
from firebase-module.
Related Issues (20)
- Ignore url to be fetched by the service worker
- Documentation unclear
- Email change causing logout HOT 2
- Automatically deleted or expire fcm token on website load nuxt firebase module
- Push notification not showing in mac os Nuxt Firebase Module
- I need to take controle with firebase cloud message popup
- FirebaseError: Installations: Missing App configuration value: "projectId"
- How to sync data from firebase database in realtime
- onIdTokenChanged is called with no reason
- Nuxt 3 fresh install + @nuxtjs/firebase does not run HOT 5
- unexpected token using firebase.services.auth.ssr.credential = true HOT 1
- FirebaseAuthError: There is no user record corresponding to the provided identifier.
- Setting emulator port for Firestore and Database not working
- App check with reCAPTCHA Enterprise HOT 1
- There is no tenantId
- Messaging undefined HOT 1
- Issue installing HOT 5
- Edit: Mistake issue - please delete
- Update your documentation HOT 1
- AppCheck and Auth cause LogOut race condition on page refresh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-module.