Skip to content

Conversation

@Lee2532
Copy link
Contributor

@Lee2532 Lee2532 commented Apr 30, 2025

build Docker-compose file, you will get an error to enter ValueError: The value api_auth/jwt_secret must be set!.
To solve this problem, you entered the temporary secret key of AIRFLOW_API_AUTH_JWT_SECRET in the Docker-compose.yml file.

Closes: #49992

@Lee2532
Copy link
Contributor Author

Lee2532 commented Apr 30, 2025

The same error occurred when leaving AIRFLOW__API_AUTH__JWT_SECRET blank, so I randomly put in the secret key value. I don't think it's a good way. Is there another good way

@dheerajturaga
Copy link
Member

This was resolved in #49681

@bdsoha
Copy link
Contributor

bdsoha commented Apr 30, 2025

I added the related functionality to the HELM chart (here: #49923), maybe the docs can also be updated.

@potiuk
Copy link
Member

potiuk commented Apr 30, 2025

I added the related functionality to the HELM chart (here: #49923), maybe the docs can also be updated.

Yep. Contrbutions are welcome. And yes, hard-coding the secret is a bad idea.

@potiuk potiuk closed this Apr 30, 2025
@Lee2532 Lee2532 deleted the issue/49992 branch May 23, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error docker compose setuo fails with "jwt_secret must be set"

4 participants