Closed
Description
Category
- Question
- Typo
- Bug
- Additional article idea
Expected or Desired Behavior
- Update all essential packages to 1.5.0-plusbeta.
- Instantiate a AadHttpClient with service scope and id supplied for the constructor.
- Use AadHttpClient class get method to load data from registered 3rd party web service.
Observed Behavior
Trying to instantiate AadHttpClient in 1.5 plus-beta throws the following error: The value for "serviceScope" cannot be undefined (roughly translated from Danish).
Mind you that this is is working in 1.4.1 (with supplied with AadHttpClient constructor arguments).
Reading the documentation for AadHttpClient references the AadHttpClientFactory class, but this is nowhere to be found in the plus-beta packages.
Steps to Reproduce
- Update all essential packages to 1.5.0-plusbeta.
- Instantiate a AadHttpClient with no arguments (even though documentation specifies this as not recommended).
- Trying to instantiate AadHttpClient in 1.5 plus-beta throws the following error in the console: The value for "serviceScope" cannot be undefined (roughly translated from Danish).
Can you please advice on how we should use AadHttpClient in version 1.5.0-plusbeta, as no tutorials seem to be mentioning a new approach, and I cannot find the package.
Kind regards from Morten