Hi,
I have enabled Google authentication by updating appsettings.json in Host project as follows:
"Google": {
"IsEnabled": "True",
"ClientId": "--MY Client Id----",
"ClientSecret": "--MY Client Password----"
},
But on frontend, I can't see any external login provider button. On checking in console, I see that this.loginService.externalLoginProviders in login.component.ts is
[]
8 Answer(s)
-
0
Hi @ajayak,
Have you restarted your host app after this change ?
-
0
Hi @ismcagdas,
I cleaned the solution and rebuilt again. Still no success.
-
0
Hi @ajayak,
Social logins are only available for tenants. Can you see the icons when you change the tenant on login page ? You can try with Default tenant.
-
0
Hi @ismcagdas,
I see. I have disabled multi-tenancy for my application. In this case, how can I use external providers?
-
0
Hi @ajayak,
If multi tenancy is disabled, then you must be able to see social login icons. Can you see other icons for example for facebook if you configure it ?
-
0
Hi @ismcagdas,
I have set all External login providers to "True" but I still can't see any icon on login page :?
-
0
Hi @ajayak,
Thank you for your report, issue is fixed here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/666">https://github.com/aspnetzero/aspnet-ze ... issues/666</a>. Can you try the same solution ? <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/commit/b0b7919006f4d6b8e596c4aeff0bd9ee2b99414c">https://github.com/aspnetzero/aspnet-ze ... ee2b99414c</a>
-
0
Thanks @ismcagdas :)