kalisio / kano

Map and weather forecast data explorer in 2D/3D
https://kalisio.github.io/kano/
MIT License
24 stars 7 forks source link

Enhance API GATEWAY jwt strategy #271

Closed cnouguier closed 2 years ago

cnouguier commented 2 years ago

For now, KANO generates a JWT if the API_GATEWAY_URL environment variable is set. But it creates a JWT with the current APP secret. It works fine if Kano uses an API with the same secret but it does not allow to use an external API which would use another secret. It might be handy to add an API_GATEWAY_JWT environment variable to enforce a jwt. So if this variable is not set, Kano will create the jwt.