Home

Awesome

cloudscribe.Web.SimpleAuth

Simple Authentication for ASP.NET Core - because sometimes less is more

Build Status

WindowsLinux/Mac
Build statusBuild Status

You should not use SimpleAuth if any of these requirements apply to your web application or website project:

If either of the above are true of your project then you should probably look at these other projects instead of SimpleAuth:

See also the Complete List of cloudscribe Libraries

So what scenarios is SimpleAuth good for?

What is the value proposition?

Installation

The example.WebApp project in this solution is the best guide to setup and configuration, I've added some comments in the Startup.cs that should be useful, and if you have any trouble setting it up in your app, you can compare against the demo to see what is missing or different. Note that the example.WebApp also uses cloudscribe.Navigation for the menu, and you may also want to use it.

The basic installaiton steps are as follows:

Visual Studio should automatically pull it in from nuget.org, but you can also run dotnet restore --no-cache from the command line in the solution or project folder.

The views are also included as embedded resources so if you don't need to customize them you can add them like this:

services.AddMvc()
        .AddRazorOptions(options =>
        {
            options.AddEmbeddedViewsForSimpleAuth();
           
        });

Screenshot

Keep In Touch

If you are interested in hiring us for consulting or other support services related to the cloudscribe set of projects, please send an email to info [at] cloudscribe.com.

We're also on twitter @cloudscribeweb