-
Notifications
You must be signed in to change notification settings - Fork 230
Closed
Labels
Description
Bug Report
If you try to build a release build of the react sample in Microsoft-graph-toolkit, the minification causes login not to work from this package. This would be the same with any sample that uses minification of this package.
Prerequisites
- Can you reproduce the problem?
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you perform a cursory search?
For more information, see the CONTRIBUTING
guide.
Description
Minification causes the use of Object.name to return similar values across the project. This renders the use of that idiom ineffective.
Steps to Reproduce
- Start with Microsoft-graph-toolkit react sample
- Insert your app Id, and change provider to use msalProvider
- Try to login. It won't work.
Expected behavior: It should work.
Actual behavior: The minified version uses the AuthenticationProviderOptions as a TelemetryHandlerOptions.
Additional context
None