by mmacneil

Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET ...

436 Stars 247 Forks Last release: Not found MIT License 31 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Sample project based on the blog post demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.

Facebook flow

Email flow

Development Environment

  • Sql Server Express 2017 & Sql Server Management Studio 2017
  • Runs in both Visual Studio 2017 & Visual Studio Code
  • Node 8.9.4 & NPM 5.6.0
  • .NET Core 2.0 sdk
  • Angular CLI ->
    npm install -g @angular/cli


To build and run the project using the command line: 1. Install npm packages with

src>npm install
in the
directory. 2. Restore nuget packages with
src>dotnet restore
in the
directory. 3. Create the database with
src>dotnet ef database update
in the
directory. 4. Run the project with
src>dotnet run
in the
directory. 5. Point your browser to http://localhost:5000.

Of course, you can also run it from either Visual Studio 2017 or Visual Studio Code with the IDE handling most of the steps above. If you have issues, try running the above steps from the command line to ensure things are setup properly.

Facebook App Setup

You're free to use the demo facebook app Fullstack Cafe that the project is already configured with. To setup and use your own application follow the steps detailed on the post.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.