Picnic.SimpleAuth is a simple authentication extension for Picnic that provides a slim authentication layer for the Picnic ASP.NET Core CMS Extension.
using Picnic.SimpleAuth.Extensions;
public void ConfigureServices(IServiceCollection services)
{
//...Existing configuration
services.AddMvc();
// Add Picnic and Specify Json Store
services.AddPicnic().UseJsonStore().UseSimpleAuth();
}
Launch the picnic management interface in the browser and you will be prompted with a login dialog.
The default username is admin
and the default password is password
. Don't forget to change it. A user menu item will be added to the picnic management interface allowing you to change your password or logout.
Install from Nuget
Install-Package Picnic.SimpleAuth
Picnic.SimpleAuth is copyright © 2017 Matthew Marksbury and other contributors under the MIT license.
Coming soon.