You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
clientId as env variable to use in a browser for spa
#15780
I have a docker image which contains nginx and frontend spa application. Now I try to solve a problem of env vars. I want to provide for frontend different keycloack client ids for different environments without rebuilding the image. There is a solution which offers to use inside image different static asset configs, which contains env vars. Is it only one right way? I want to provide client id to browser inside cookie with initial request for spa static. Please, give a piece of advice about security problems of this approach
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a docker image which contains nginx and frontend spa application. Now I try to solve a problem of env vars. I want to provide for frontend different keycloack client ids for different environments without rebuilding the image. There is a solution which offers to use inside image different static asset configs, which contains env vars. Is it only one right way? I want to provide client id to browser inside cookie with initial request for spa static. Please, give a piece of advice about security problems of this approach
All reactions