For Hasura to properly validate JWTs with an HS256 symmetric key, you need to use a key that is at least 32 characters long. Here’s how you can structure the HASURA_GRAPHQL_JWT_SECRET for HS256 in your Docker Compose file, ensuring the key meets the required length: