gladly-team / next-firebase-auth

Simple Firebase authentication for all Next.js rendering strategies
https://nfa-example-git-v1x-gladly-team.vercel.app/
MIT License
1.33k stars 290 forks source link

`firebaseAdminInitConfig` is missing the `storageBucket` field #713

Open se210 opened 2 months ago

se210 commented 2 months ago

Is your feature request related to a problem? Please describe. When using the Firebase Admin SDK, the storage bucket is not properly initialized because firebaseAdminInitConfig is missing the storageBucket field.

Describe the solution you'd like and how you'd implement it Add storageBucket?: string to firebaseAdminInitConfig

Is this a breaking change? No

Describe alternatives you've considered I am currently working around the Typescript error by doing:

firebaseAdminInitConfig: {
  ...
  storageBucket: "my-config"
} as unknown as any