opened
chlowell
username_0
Constructing `ClientApplication` entails at least one HTTP request, for tenant discovery. This adds all the costs and failure modes associated with the network to constructing the class. In my own code I therefore defer constructing (subclasses of) `ClientApplication` until I want to authenticate. That's a feasible workaround but please consider taking a similar approach in msal, deferring discovery until a method requiring I/O is called.
ClientApplication initializer sends HTTP requests
issue
closed
abhidnya13
username_1
issue
created
chlowell
username_0
Can we reopen this for tracking?
comment
reopened
rayluo
username_2
Constructing `ClientApplication` entails at least one HTTP request, for tenant discovery. This adds all the costs and failure modes associated with the network to constructing the class. In my own code I therefore defer constructing (subclasses of) `ClientApplication` until I want to authenticate. That's a feasible workaround but please consider taking a similar approach in msal, deferring discovery until a method requiring I/O is called.
ClientApplication initializer sends HTTP requests
issue