0
affern created
Hello. I'm trying to enable social login buttons for Google and Facebook. I have registered my app and have my authentication keys in appsettings.json and set "IsEnabled": "true". But GetExternalAuthenticationProviders() in TokenAuthController returns 0.
I can see that ConfigureExternalAuthProviders() in GlobalOpinionsWebHostModule class is adding my providers to the list when the solution starts up.
So why can _externalAuthConfiguration.Providers in this code return 0?
[HttpGet] public List<ExternalLoginProviderInfoModel> GetExternalAuthenticationProviders() { return ObjectMapper.Map<List<ExternalLoginProviderInfoModel>>(_externalAuthConfiguration.Providers); }
Is there something I've forgotten? I'm using the Angular version.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
No answer yet!
Showing 551 to 26 of 26 entries.