giovannicandido / angular-spa

Angular security, logger, components and other stuff that makes professional Single Pages Application awesome.
MIT License
6 stars 4 forks source link

Dynamic configuration #23

Open giovannicandido opened 7 years ago

giovannicandido commented 7 years ago

Problem: Some apps need access to configuration variables that are in the environment, for example: URL for the api server in a cloud or docker cluster, keycloak url, realm and clientId.

This are not so much sensitive data, but are dynamic.

A nice solution would be to expose env variables to the client, that way the container could override the variable on startup and the client will pick up.

This feature need support from the server.