I added facebook login for my site on nop 4.3 and while it takes me to facebook to login when it gets sent back to the site nothing happens. I am not logged in. I am just back at the login screen
Anyone have this issue or know how to fix it?
Ok, here is my solution( to my problem), it may not solve yours, but I think it will give you a clue of whats going on.
public void ConfigureRequestPipeline(IApplicationBuilder application)
{
application.UseForwardedHeaders(new ForwardedHeadersOptions
{
ForwardedHeaders = ForwardedHeaders.XForwardedProto
});
ServiceProvider = application.ApplicationServices;
//find startup configurations provided by other assemblies
var typeFinder = Resolve<ITypeFinder>();
var startupConfigurations = typeFinder.FindClassesOfType<INopStartup>();
//create and sort instances of startup configurations
var instances = startupConfigurations
.Select(startup => (INopStartup)Activator.CreateInstance(startup))
.OrderBy(startup => startup.Order);
//configure request pipeline
foreach (var instance in instances)
instance.Configure(application);
}