-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: How to load configuration dynamically during runtime in v14 #1586
Comments
You can not set the config at runtime anymore. However, you can load the configs at the start via HTTP and then start the app and use the configId the user has choosen (We are supporting multiple configs). Or, you can save the config, the user has chosen, save it in localstorage and do a reload of the app, then read it again and pass it into the lib. |
Was there a reason that was removed ? Just for the completeness of this thread. |
I have explained this in an issue before, let me just link that here: #923 (comment) . I am not lazy to answer, it is just I would write the same again. Don't want to be unpolite :) |
No worries. Thank you for the help ! Appreciate it. |
I'm migrating to v14 of this library where
OidcConfigService
isn't part of the library anymore. I have a use case where I'm fetching configs based on user selection i.e. my application supports user to log into multiple configs and I was able to load the config like below previously.Question
How do I do the same with the v14 library. I tried to do something like this :
This doesn't seem to execute. I'm not a observable expert so, if I've misunderstood the usage please let me know. The root of the problem being how do I load configs dynamically at runtime.
Thanks,
Aditya Dave
The text was updated successfully, but these errors were encountered: