Base solution for your next web application
Open Closed

ERROR TypeError: this._tokenAuthService.getExternalAuthenticationProviders is not a function #10975


User avatar
0
pliaspzero created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 10.2
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

We get following error and can not login anymore - how to fix that / what could be the reason?

ERROR TypeError: this._tokenAuthService.getExternalAuthenticationProviders is not a function initExternalLoginProviders https://MYurl/17-es2015.js:1 init https://MYurl/17-es2015.js:1 ngOnInit https://MYurl/17-es2015.js:1 Jt https://MYurl/main-es2015.js:1 Gt https://MYurl/main-es2015.js:1 Ft https://MYurl/main-es2015.js:1 fs https://MYurl/main-es2015.js:1 fs https://MYurl/main-es2015.js:1 fs https://MYurl/main-es2015.js:1 Us https://MYurl/main-es2015.js:1 fs https://MYurl/main-es2015.js:1 fs https://MYurl/main-es2015.js:1 bs https://MYurl/main-es2015.js:1 Ws https://MYurl/main-es2015.js:1 Ys https://MYurl/main-es2015.js:1 detectChanges https://MYurl/main-es2015.js:1 tick https://MYurl/main-es2015.js:1 next https://MYurl/main-es2015.js:1 invoke https://MYurl/polyfills-es2015.js:1


1 Answer(s)
  • User Avatar
    0
    musa.demir created

    Hi @pliaspzero

    It is located in https://github.com/aspnetzero/aspnet-zero-core/blob/6fc980b8c46da9586a7dec4dec98b9bfb7fa93e9/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/TokenAuthController.cs#L405

    Can you please run yarn nswag command in your angular project's path