DEV Community

Joaquin Gumucio L.
Joaquin Gumucio L.

Posted on

3 1

Flask-Firebase app on Heroku not getting env vars

I need help with env vars on heroku to be able to run a Flask app that connects to Firebase.

I'm having trouble making a Flask app that uses Firebase to run It seems like the Firebase Credentials api does not take the env vars even after they have been printed!

Heres de app code:

#!/usr/bin/env python3
""" PixelCode PDF generation application"""

from io import BytesIO
from os import environ
…

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs