All Projects β†’ mmacneil β†’ Angularaspnetcoreoauth

mmacneil / Angularaspnetcoreoauth

Licence: mit
Sample project demonstrating user authentication and identity with Angular, Asp.Net Core and IdentityServer4

Projects that are alternatives of or similar to Angularaspnetcoreoauth

Jpproject.identityserver4.adminui
πŸ”§ ASP.NET Core 3 & Angular 8 Administration Panel for πŸ’žIdentityServer4 and ASP.NET Core Identity
Stars: ✭ 717 (+167.54%)
Mutual labels:  aspnetcore, oauth2, openid-connect, identityserver4
Identityserver4.samples
Samples for IdentityServer4
Stars: ✭ 1,002 (+273.88%)
Mutual labels:  oauth2, openid-connect, identityserver4
Identityserver4.samples
Samples for IdentityServer4,use .net core 2.0
Stars: ✭ 561 (+109.33%)
Mutual labels:  oauth2, openid-connect, identityserver4
Identityserver4 Example
Example IdentityServer 4 Implementation
Stars: ✭ 136 (-49.25%)
Mutual labels:  oauth2, openid-connect, identityserver4
Identityserver4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Stars: ✭ 8,428 (+3044.78%)
Mutual labels:  oauth2, openid-connect, identityserver4
run-aspnet-identityserver4
Secure microservices with using standalone Identity Server 4 and backing with Ocelot API Gateway. Protect our ASP.NET Web MVC and API applications with using OAuth 2 and OpenID Connect in IdentityServer4. Securing your web application and API with tokens, working with claims, authentication and authorization middlewares and applying policies.
Stars: ✭ 159 (-40.67%)
Mutual labels:  aspnetcore, openid-connect, identityserver4
Identitybase
IdentityBase is a Universal Identity Platform for web, mobile and IoT built on top of IdentityServer.
Stars: ✭ 112 (-58.21%)
Mutual labels:  oauth2, openid-connect, identityserver4
Jpproject.identityserver4.sso
πŸ”’ ASP.NET Core 3.1 Open Source SSO. Built within IdentityServer4 πŸ”‘
Stars: ✭ 298 (+11.19%)
Mutual labels:  oauth2, openid-connect, identityserver4
IdentityServerSample
Sample ASP.NET Core MVC and Angular apps and API using Identity Server 4
Stars: ✭ 25 (-90.67%)
Mutual labels:  oauth2, openid-connect, identityserver4
Aspnet5identityserverangularimplicitflow
OpenID Connect Code / Implicit Flow with Angular and ASP.NET Core 5 IdentityServer4
Stars: ✭ 670 (+150%)
Mutual labels:  aspnetcore, oauth2, identityserver4
Oidc.example
OIDC (OpenID Connect) Example for http://openid.net/connect/
Stars: ✭ 190 (-29.1%)
Mutual labels:  oauth2, openid-connect, identityserver4
Samples.aspnetcore Identityserver4
IdentityServer4 sample with .NET Core and ASP.NET Core 2.0
Stars: ✭ 115 (-57.09%)
Mutual labels:  aspnetcore, oauth2, identityserver4
Identityserver4 Swagger Integration
How to get Swashbuckle or NSwag Swagger UI's working with IdentityServer 4
Stars: ✭ 60 (-77.61%)
Mutual labels:  aspnetcore, oauth2, identityserver4
Aspnetcoreangularsignalrsecurity
Security with ASP.NET Core, SignalR and Angular
Stars: ✭ 171 (-36.19%)
Mutual labels:  aspnetcore, oauth2, identityserver4
MsCoreOne
MsCoreOne is a simple Ecommerce with using many technologies such as .NET 5, Entity Framework Core 5, React 16.13 with modern Clean Architecture, Domain-Driven Design, CQRS, SOLID, Identity Server 4, Blazor. It will focus on resolving the problems always see in the process to develop projects.
Stars: ✭ 77 (-71.27%)
Mutual labels:  aspnetcore, identityserver4
AspNetCore6Experiments
ASP.NET Core Blazor BFF with Azure AD and Razor page
Stars: ✭ 43 (-83.96%)
Mutual labels:  aspnetcore, openid-connect
Authentication
Authentication examples for AspNetCore 3.1
Stars: ✭ 37 (-86.19%)
Mutual labels:  aspnetcore, identityserver4
Identityserver
An open-source, standards-compliant, and flexible OpenID Connect and OAuth 2.x framework for ASP.NET Core
Stars: ✭ 223 (-16.79%)
Mutual labels:  aspnetcore, openid-connect
example-oidc
OIDC (OpenID Connect) Example for http://openid.net/connect/
Stars: ✭ 221 (-17.54%)
Mutual labels:  openid-connect, identityserver4
MonolithicArchitecture
This repository presents an approach on how to build an application using Monolithic architecture, ASP.NET Core, EntityFrameworkCore, Identity Server, CQRS, DDD
Stars: ✭ 18 (-93.28%)
Mutual labels:  aspnetcore, identityserver4

AngularASPNETCoreOAuth

Sample project based on the blog post demonstrating how to build out an Implicit Grant OAuth flow utilizing OAuth2/OpenID Connect protocols implementing IdentityServer4 as our OpenID Connect Provider and then using it to authenticate an Angular SPA client to authorize access to an independent ASP.NET Core Web API.

Development Environment

  • Visual Studio 2019 Community
  • Visual Studio Code 1.32.3
  • .NET Core SDK 3.1
  • Angular 8
  • IdentityServer4 3.0.1
  • SQL Server Express 2016 LocalDB

Setup

To run the demo:

1. Clone/Fork/Download this repository.

2. Create the database on your SQL Server Express LocalDB by using the dotnet cli to run the migrations from within the AuthServer.Infrastrucuture project folder.

AuthServer.Infrastructure> dotnet ef database update --context AppIdentityDbContext
AuthServer.Infrastructure> dotnet ef database update --context PersistedGrantDbContext

3. Install Angular CLI if necessary. npm install -g @angular/cli

4. Install Angular SPA dependencies.

Spa\oauth-client> npm install

5. Run the Angular CLI dev server to build and run the Angular app.

Spa\oauth-client> ng serve

6. Build/Run the AuthServer.sln solution using your preferred method: Visual Studio, VSCode, dotnet CLI.

7. Build/Run the Resource.Api.sln solution using your preferred method: Visual Studio, VSCode, dotnet CLI.

8. Point a browser to http://localhost:4200 to access the Angular client.

9. Use the Signup and Login functions to perform the authentication flow, then try and access the Top Secret Area to hit the protected ASP.NET Core Web API.

Contact

[email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].