Skip to content

QuinntyneBrown/Angular.Net.SecureStarter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Secure Starter

An AngularJS starter kit for ASP.NET which implements authentication and authorization (ASP.NET Identity 2.0.0) to provide:

  • site based and 3rd party user authentication
  • local SPA authorization and customization based on role membership

##Getting started

During the database initialization (ApplicationDbInitializer) two roles are created:

  • administrator
  • user

A user called Administrator is also created with the password 'Administrator55$' and added to both roles. Edit the initializer if you need to change this, or add more roles and users.

To get familiar with configuring security on the SPA side of things see the following wiki pages:

There are a few other features to make life a bit easier which you can read about here.

##Installation

You can fork or download this repo.

It is also available as a Nuget package (you can find it here). In Visual Studio create a new Web API project with the authentication option set to 'individual user accounts'. Then either install the package using the package manager or from to install from the Package Manager Console enter the following command:

Install-Package Angular.SecureStarter

##Current status

The starter kit currently implements the basic authentication functionality equivalent to that found in the Visual Studio 2013 ASP.NET 'Single Page Application'. Future enhancements will (hopefully) include:

  • two-factor authentication
  • password reset by email
  • basic user management

About

An AngularJS starter kit for ASP.NET which implements authentication and authorization with ASP.NET Identity 2.0.0.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.3%
  • C# 18.8%
  • CSS 12.8%
  • HTML 7.2%
  • Batchfile 2.1%
  • PowerShell 0.8%