Azure / ng-deploy-azure

Deploy Angular apps to Azure using the Angular CLI
MIT License
79 stars 37 forks source link

fix: crash when using saved credentials #67

Closed sinedied closed 4 years ago

sinedied commented 4 years ago

Pull Request Template

Description

Fix crash with creds.getToken error when you have saved credentials.

I also removed saving the credentials in CI mode, because that's a different kind of credentials object, ie ApplicationTokenCredentials vs DeviceTokenCredentials so loading this kind of credentials from cache won't work for now. I suggest we use proper adapters for saving/loading credentials to avoid this kind of issues in the future, if we plan to support other auth methods.

Type of change

Please delete options that are not relevant.