Closed
Description
Describe the bug
If enabling OAuth authentication, the configured OAuthAccessTokenProvider
is instantiated immediately when starting the application, causing problems if the access token provider depends on services only available after the application startup.
Expected behavior
OAuthAccessTokenProvider
should be constructed lazily when used for the first timeMessageClient
should be constructed lazily when used for the first time
Environment
- Angular Solace Message Client version:
14.0.0