nhost / hasura-backend-plus

🔑Auth and 📦Storage for Hasura. The quickest way to get Auth and Storage working for your next app based on Hasura.
https://nhost.github.io/hasura-backend-plus/
MIT License
1.17k stars 187 forks source link

JWT_KEY should not be mandatory #615

Closed plmercereau closed 3 years ago

plmercereau commented 3 years ago

https://github.com/nhost/hasura-backend-plus/blob/48c24d346a66f7e892cc820d9cbff37f8ba52f03/src/env-vars-check.ts#L13

JWT_KEY is not required when algorithm is RSA:

https://github.com/nhost/hasura-backend-plus/blob/d4f51176a395f9803f463a956e9e3ca022c91288/src/shared/jwt.ts#L19-L42

elitan commented 3 years ago

This check has been removed from the current master branch.