.AddAuthentication() has to be added to Startup.cs in order for Sparc.Features features to work
Opened this issue · 1 comments
josephatkuvio commented
.AddAuthentication().AddJwtBearer()
has to be added to Startup.cs in order for Sparc.Features features to work at all.
This is added automatically if you configure an authentication provider (SelfHosted or B2C), but not before.
We should figure out a way to have a "default" authentication provider, so that a working project isn't reliant on adding one of the Sparc authentication plugins, and so both Features and Public Features work out of the box.
josephatkuvio commented
I believe I solved this a few weeks ago, will check my branches for the solution and submit a PR.