• Stars
    star
    725
  • Rank 60,245 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenID Connect Code Flow PKCE / Implicit Flow with Angular and ASP.NET Core 6 IdentityServer4

ASP.NET Core 6 IdentityServer4 OpenID Connect Code Flow / OIDC Implicit Flow examples Angular

Build
.NET 6, Angular Build status

Code: https://github.com/damienbod/AspNet5IdentityServerAngularImplicitFlow

Posts

Authorization Policies and Data Protection with IdentityServer4 in ASP.NET Core

Angular OpenID Connect Implicit Flow with IdentityServer4

Angular secure file download without using an access token in URL or cookies

Full Server logout with IdentityServer4 and OpenID Connect Implicit Flow

IdentityServer4, WebAPI and Angular in a single ASP.NET Core project

Extending Identity in IdentityServer4 to manage users in ASP.NET Core

Implementing a silent token renew in Angular for the OpenID Connect Implicit flow

OpenID Connect Session Management using an Angular application and IdentityServer4

Implementing a multi-tenant OIDC Azure AD external login for IdentityServer4

Older Posts which are no longer maintained

OAuth2 Implicit Flow with AngularJS and ASP.NET Core 2.1 IdentityServer4

AngularJS OpenID Connect Implicit Flow with IdentityServer4

Secure file download using IdentityServer4, Angular and ASP.NET Core

History

2022-02-11 Updated nuget packages, namespaces

2021-11-12 Updated nuget packages, .NET 6

2021-08-18 Updated nuget packages

2021-07-02 Updated npm, nuget packages, OIDC 12.0.0

2021-03-14 Updated npm, nuget packages, OIDC 11.6.4

2021-03-05 Updated npm, nuget packages, OIDC 11.6.2

2021-02-25 Updated npm, nuget packages, OIDC 11.6.0

2021-01-28 Updated npm, nuget packages

2020-11-20 Updated to .NET 5 and Angular 11

2020-11-08 Updated to Azure.Security.KeyVault.Secrets

2020-11-07 Updated .NET packages, added swagger, updated npm packages

2020-09-15 Updated IdentityServer4 4.1.0, Angular 10.1.1, OIDC 11.1.2

2020-07-06 Updated IdentityServer4 4.0.2, Angular 10.0.2, OIDC 11.1.4

2020-06-26 Updated IdentityServer4 to V4

2020-06-26 Updated OIDC lib to 11.1.3

2020-06-26 Updated to Angular 10

2020-05-01 Updated to OIDC Version 11, nuget packages, npm packages

2020-03-21 Updated packages

2020-03-03 Updated STS, support for FIDO2, updated nuget packages

2020-02-14 Subscribe startRenew after isAuthorized is true

2020-02-10 Update Angular 9

2020-01-24 Update Nuget packages, OIDC lib

2020-01-04 Added same site fixes

2020-01-03: Updated npm packages, OIDC lib, nuget packages

2019-12-06: Updated to ASP.NET Core 3.1

2019-11-17: Updated OIDC 10.0.10, Angular 8.2.14, Nuget packages

2019-10-05: Updated OIDC 10.0.9, Angular 8.2.9, IdentityServer4 3.0.1, Nuget packages

2019-09-23: Updated to .NET Core 3.0

2019-09-20: Updated to .NET Core 3.0 RC1

2019-09-13: Updated to angular 8.2.6, Ability to change the amount of seconds for the IsAuthorizedRace to timeout

2019-09-01: Updated to angular 8.2.4, nuget packages

2019-08-20: Updated to angular 8.2.2, nuget packages

2019-07-30: Updated to angular 8.1.3

2019-05-30: Updated to angular 8.0.2, OIDC libs

2019-05-30: Updated to angular 8.0.0, typescript 3.4.5

2019-05-17: Updated to angular 7.2.15, Nuget packages

2019-04-28: Increased length of the state for OIDC authorize, silent renew fix for code flow

2019-04-26: Updated npm packages

2019-04-14: Updated OIDC lib code

2019-04-13: Updated angular 7.2.13, Nuget packages

2019-03-29: Updated angular 7.2.11, Nuget packages

2019-03-15: Updated angular 7.2.9, Nuget packages

2019-02-24: Updated angular 7.2.6, Nuget packages

2019-02-11: updated npm packages

2019-01-30: updated npm packages, at_hash is optional for code flow

2019-01-07: Angular OIDC lib, support for Code Flow with PKCE and sample project

2019-01-06: Update npm packages, UI fixes in the STS

2018-12-04: Update to .NET Core 2.2

2018-11-27: Added Identity Error message localizations

2018-11-22: Updated angular 7.1.0

2018-11-20: Updating Angular OIDC lib 8.0.3, updating angular 7.0.4, nuget packages

2018-11-09: Updating Angular OIDC lib 8.0.2, updating angular 7.0.3

2018-11-02: Updating Angular OIDC lib, updating angular 7.0.2

2018-10-30: updating angular 7.0.1

2018-10-26: updating build, oidc lib

2018-10-20: updating angular 7.0.0

2018-10-18: updating angular 6.1.10 updating the oidc lib

2018-10-14: bug fixes in check session, updating the oidc lib

2018-10-03: updating oidc lib fixes, updating npm packages

2018-09-21: Adding STS Identity fixes from template, updating npm packages

2018-09-09: Removing fetch dependency

2018-09-07: Updated npm packages Angular 6.1.7

2018-08-29: Updated localizations, npm packages Angular 6.1.5

2018-08-26: Added localization support to STS, Adding Personal data menu to the profile of the Identity

2018-08-18: Updated npm packages, small angular fixes in the auth lib, removed bower

2018-08-15: Added support for OIDC external login with Azure AD

2018-08-15: Updated to Angular 6.1.2, fixed 2FA bug for TOTP

2018-08-01: Updated to ASP.NET Core 2.1.2, Angular 6.1.0

2018-06-22: Updated to ASP.NET Core 2.1.1, Angular 6.0.6

2018-06-20: Updated to ASP.NET Core Identity 2.1, Add Email Service, support for Cert deployments, support for 2FA Authenticator

2018-05-27: Updated to ASP.NET Core 2.1

2018-05-04: Updated to Angular 6, rxjs 6.1.0, Webpack 4

2018-04-21: update npm packages, nuget packages

2018-03-15: updated security angular module, update npm packages, nuget packages

2018-02-23: updated security angular module, update npm packages, nuget packages

2018-02-02: updated security angular module, update npm packages, nuget packages

2018-01-15: support for auth using APP_INITIALIZER and Guards, Updated to Angular 5.2.0, reset to Typescript 2.6.2

2017-12-31: Updated to Angular 5.1.2, reset to Typescript 2.5.3

2017-12-08: Updated to Angular 5.1.0, Typescript 2.6.2, IdentityServer4 2.0.5, ASP.NET Core 2.0.3

2017-11-03: Updated to Angular 5, Typescript 2.6.1

2017-10-20: Updated to Angular 4.4.6, Angular oidc 3.0.0 and HttpClient

2017-10-15: Updated to IdentityServer4 2.0 and Angular oidc 1.3.19

2017-10-05: Updated to IdentityServer4 2.0 and Angular oidc 1.3.18

2017-09-15: Updated to ASP.NET 2.0

2017-08-11: update auth module version 1.3.6

2017-08-09: update auth module and Angular 4.3.3

2017-07-21: bugfix refresh isAuthorized, bugfix refresh user data, Angular 4.3.1,

2017-07-14: Updated auth module to version 1.2.1 , Angular 4.2.6, Webpack 3.2.1, typescript 2.4.1

2017-06-23: Updated auth module to version 1.0.3 , Angular 4.2.4, Webpack 2.6.1, typescript 2.3.4

2017-06-11: Supporting OpenID Connect Session Management 1.0 , Angular 4.2.1

2017-06-09: Supporting OpenID well known endpoints

2017-06-09: Logging can be turned off or on for the auto security module

2017-06-08: Updated using angular style guide, and refactored code

2017-06-02: Implemented silent renew for Angular 4 OpenID Connect Implicit flow and OpenID Connect Session Management

2017-04-16: Updated to IdentityServer4 1.5.1, angular 4.1.3 and updated all other nuget packages

2017-04-16: Updated to IdentityServer4 1.5.0, angular 4.0.2

2017-04-11: Updated to IdentityServer4 1.4.2, angular 4.0.1, dev npm packages, angular OpenID Connect Implicit Flow Client configuration

2017-03-24: Updated to angular 4.0.0

2017-03-20: Updated to angular 2.4.10, oidc client validation, IdentityServer4 1.3.1

2017-02-15: Updated to VS2017 csproj, angular 2.4.7, webpack 2.2.1

2017-01-07: Updated to IdentityServer4 1.0.0

2016-12-18: Updated to IdentityServer4 rc5, ASP.NET Core 1.1

2016-12-04: Updated to IdentityServer4 rc4

2016-11-18: Updated to Angular 2.2.0, IdentityServer4 rc3

2016-10-08: Updated to IdentityServer4 rc2

2016-09-18: ASP.NET Core 1.0.1

2016-09-13: Updated to IdentityServer4 RC1 with ASP.NET Core Identity and SQLite

2016-08-11: Updated to IdentityServer4 1.0.0-beta5

2016-07-03: Updated to ASP.NET Core RTM and IdentityServer4 1.0.0-beta4-update1

2016-06-26: Updated IdentityServer4 beta 3

2016-05-22: Updated to ASP.NET Core 1.0 RC2 dotnet

2016-01-15: Updated to IdentityServer4

2015-11-18: Updated to ASP.NET Core 1.0 RC1

dotnet Migrations

open the cmd in project folder:

dotnet restore

dotnet ef migrations add sts_init --context ApplicationDbContext --verbose

dotnet ef database update --verbose

More Repositories

1

angular-auth-oidc-client

npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow
TypeScript
988
star
2

AngularWebpackVisualStudio

Template for ASP.NET Core, Angular with Webpack and Visual Studio
JavaScript
486
star
3

IdentityServer4AspNetCoreIdentityTemplate

An ASP.NET Core 6.0 IdentityServer4 Identity Bootstrap 4 template with localization
C#
326
star
4

AspNetCoreLocalization

Localization.SqlLocalizer & ASP.NET Core MVC Localization Examples
C#
250
star
5

AspNetCoreHybridFlowWithApi

Different ASP.NET Core applications using OpenID Connect Hybrid flow Code Flow, Code Flow with PKCE, JWT APIs, MFA examples
C#
247
star
6

AspNetCoreMultipleProject

ASP.NET Core API EF Core and Swagger
C#
227
star
7

AspNetCoreOpeniddict

OpenIddict with Angular and Blazor WASM BFF OpenID Connect Code Flow with PKCE clients and ASP.NET Core APIs
C#
224
star
8

AspNetCoreCertificates

Certificate Manager in .NET Core for creating and using X509 certificates
C#
223
star
9

AspNetCoreAngularSignalRSecurity

Security with ASP.NET Core, SignalR and Angular
C#
214
star
10

AspNetCoreAngularSignalR

SignalR ASP.NET Core Angular
TypeScript
186
star
11

ElasticsearchCRUD

Elasticsearch .NET netstandard API
C#
172
star
12

IdentityServer4VueJs

IdentityServer4 Vue.js oidc-client-js OpenID Connect code flow with PKCE
C#
124
star
13

AspNetCoreIdentityFido2Mfa

ASP.NET Core 7 Identity with FIDO2 WebAuthn MFA, passwordless
CSS
118
star
14

AspNetCoreWindowsAuth

Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4
C#
118
star
15

AspNetCoreFileUploadFileTable

ASP.NET Core MVC file upload / download with MS SQL Server FileTable
C#
114
star
16

AspNetCoreServiceBus

ASP.NET Core with Azure Service Bus
C#
101
star
17

Secure_gRpc

Security Experiments with gRPC and ASP.NET Core 5
C#
92
star
18

aspnetcore-standup-authn-authz

https://www.youtube.com/watch?v=eQ7eLOA69T0
84
star
19

Blazor.BFF.OpenIDConnect.Template

Blazor.BFF.OpenIDConnect.Template, Blazor WASM hosted in ASP.NET Core using OpenID Connect BFF (server authentication)
CSS
80
star
20

AspNetCoreCsvImportExport

ASP.NET Core CSV import export custom formatters
C#
78
star
21

SendingEncryptedData

.NET Core Encryption
CSS
74
star
22

AspNetCoreID4External

external OpenID Connect Login to IdentityServer and ASP.NET Core with AAD
C#
72
star
23

AspNetCoreMvcVueJs

ASP.NET Core with Vue.js
C#
69
star
24

aspnetcore-standup-securing-apis

ASP.NET Core Community Standup Securing APIs
66
star
25

AspNetCoreNlog

ASP.NET Core NLog MS SQL Server PostgreSQL MySQL Elasticsearch
C#
59
star
26

AzureADAuthRazorUiServiceApiCertificate

Azure AD flows using ASP.NET Core and Microsoft.Identity
CSS
58
star
27

AspNetCoreMvcAngular

ASP.NET Core MVC with angular in MVC View OpenID Connect Hybrid Flow
C#
55
star
28

AspNetCoreOData

ASP.NET Core OData
C#
53
star
29

AspNetCoreIdentityServer4ResourceOwnerPassword

ASP.NET Core IdentityServer4 Resource Owner Flow Refresh token and custom user repository
CSS
51
star
30

AspNetCoreCertificateAuth

ASP.NET Core 3.1 Certificate Authentication Self Signed and Chained
C#
50
star
31

Blazor.BFF.AzureB2C.Template

Blazor.BFF.AzureB2C.Template, Blazor WASM hosted in ASP.NET Core using Azure B2C BFF (server authentication) and Microsoft Graph
CSS
47
star
32

AspNetCoreExperiments

ASP.NET Core Blazor BFF with Azure AD and Razor page
CSS
46
star
33

Blazor.BFF.AzureAD.Template

Blazor.BFF.AzureAD.Template, Blazor WASM hosted in ASP.NET Core using Azure AD BFF (server authentication)
CSS
45
star
34

ApiJwtWithTwoSts

Web API authorization, multi-IDP solutions in ASP.NET Core
C#
44
star
35

AspNetCoreElasticsearchNestAuditTrail

ASP.NET Core Elasticsearch Nest Audit Trial
C#
44
star
36

AzureAD-Auth-MyUI-with-MyAPI

Azure AD Auth with ASP.NET CORE UI and ASP.ENT Core API
PowerShell
42
star
37

SignalRMessagingErrorHandling

SignalR Messaging with Error Handling
C#
40
star
38

AspNetCoreMvcProtobufFormatters

ASP.NET Core MVC Protobuf Formatters (InputFormatter and OutputFormatter)
C#
38
star
39

WebApiFileUpload

Web API File Upload
C#
38
star
40

AspNet5GeoElasticsearch

ASP.NET Core MVC Geo Elasticsearch Swashbuckle Swagger
C#
37
star
41

AspNetCorePagesWebpack

ASP.NET Core Razor Pages Bootstrap 4 Application using Webpack, Typescript, and npm
C#
37
star
42

AspNetCoreFilters

ASP.NET Core MVC Filters
C#
34
star
43

AspNetCoreSQLite

ASP.NET Core 2.0 MVC SQLite Entity Framework Core
JavaScript
34
star
44

dotnet-template-angular

oidc azure-ad angular dotnet-template openid
TypeScript
34
star
45

AspNetCoreMvcSharedLocalization

ASP.NET Core MVC shared localization
C#
33
star
46

AspNetCoreQuartz

ASP.NET Core scheduling with Quartz.NET and SignalR
JavaScript
31
star
47

AspNetCoreYarp

ASP.NET Core & Yarp reverse proxy with Azure AD OIDC, OAuth2
C#
31
star
48

AspNetCoreApiAuthMultiIdentityProvider

ASP.NET Core Api Auth with multiple Identity Providers
C#
29
star
49

AngularLocalizationAspNetCore

Angular ASP.NET Core localization
C#
26
star
50

AngularAutoSaveCommands

ASP.NET Core, Angular, Angular CLI, MS SQL Server, Undo, Redo, Auto save
C#
24
star
51

AzureFunctionsSecurity

Azure Functions Security
C#
24
star
52

angular-auth-oidc-sample-google-openid

Angular oidc client with google Identity OpenID
JavaScript
23
star
53

Angular2AutoCompleteAspNetCoreElasticsearch

Angular autocomplete, ASP.NET Core, Elasticsearch
C#
23
star
54

SignalRMessaging

JavaScript
22
star
55

AspNetCoreIdentityServer4Angular2Docker

C#
22
star
56

AspNetCorePostgreSQLDocker

ASP.NET Core Docker EF Core
C#
22
star
57

AspNetCoreIdentityServer4Persistence

EF Core database for the IdentityServer4 configuration data
C#
22
star
58

azureb2c-fed-azuread

Securing ASP.NET Core Razor Pages, Web APIs with Azure B2C external and Azure AD internal identities
C#
22
star
59

AspNet5Watcher

ASP.NET Core MVC 6 Elasticsearch watcher SignalR example
JavaScript
21
star
60

SeparatingApisPerSecurityLevel

Auth0, ASP.NET Core OAuth, OIDC
C#
21
star
61

AnimalMarketEnginsSqliteDb

ASP.NET Web API with SQLite
C#
20
star
62

WebAPIODataV4

C#
19
star
63

TeamsAdminUI

ASP.NET Core Razor Page app using Graph API to create team meetings, send emails
C#
18
star
64

AspNetCoreBackChannelLogout

ASP.NET Core Back-Channel Logout for Hybrid Clients, Redis, Key Vault, Azure
C#
18
star
65

Auth0AngularAspNetCoreApi

Auth0 with Angular and an ASP.NET Core API
TypeScript
17
star
66

AspNetCoreMicrosoftGraph

ASP.NET Core application and API using Microsoft Graph delegated clients
C#
15
star
67

AspNetCoreBlazorMicrosoftGraph

ASP.NET Core Blazor with Microsoft Graph
CSS
15
star
68

WebAPILocalization

C#
14
star
69

WebApi2AttributeFilters

C#
14
star
70

AngularComponentPlotly

Angular Component for Plotly, ASP.NET Core, Elasticsearch
TypeScript
14
star
71

AspNetCoreBootstrap4Validation

ASP.NET Core MVC Bootstrap 4 Ajax
CSS
13
star
72

AspNetCoreTenantSelect

Switch tenants in an ASP.NET Core app using Azure AD with multi tenants
C#
12
star
73

AspNetCoreAzureSearch

ASP.NET Core with Azure Cognitive Search
C#
12
star
74

AspNet5SearchWithElasticsearchCrud

ASP.NET Core MVC Elasticsearch dnxcore50
C#
12
star
75

WebSearchWithElasticsearchEntityFrameworkAsPrimary

JavaScript
12
star
76

WebSearchWithElasticsearch

CSS
12
star
77

PwaBlazorBffAzureB2C

Azure B2C Blazor BFF ASP.NET Core hosted with support for PWA
CSS
12
star
78

SharedAspNetCore

demo sharing controller and Razor Pages in a shared aseembly, project
C#
12
star
79

AspNetCoreAzureAdAzureStorage

ASP.NET Core Razor page with uses Azure Storage to upload download files securely using OAuth and Open ID Connect
C#
12
star
80

ElasticsearchBulkInsert

C#
11
star
81

DataTransferSQLWithEntityFrameworkToElasticsearch

C#
11
star
82

WebApiFileUploadFileTable

C#
11
star
83

SQLiteExamples

C#
11
star
84

WiXPowerShellExample

C#
11
star
85

PoCWindowsAuth

Securing an ASP.NET Core app and web API using windows authentication
CSS
11
star
86

AspNetCoreHangfire

ASP.NET Core with Hangfire
TSQL
11
star
87

AspNetCoreWebApiContribProtobufSample

ASP.NET Core Protobuf API Formatters
C#
10
star
88

AspNetCoreAzureADCAE

Azure AD Continuous Access in an ASP.NET Core Razor Page, Blazor app using a Web API
C#
10
star
89

AzureDurableFunctions

Using External Inputs in Azure Durable functions
C#
10
star
90

EmailCalandarsClient

Send emails with Microsoft Graph API from a Desktop APP, C# and Visual basic projects
C#
9
star
91

WebAppGeoElasticsearch

MVC google maps search using Elasticsearch
JavaScript
8
star
92

AspNetCoreIISDeployment

Demo project used for ASP.NET Core IIS deployment
C#
8
star
93

AspNetCoreVS2017Docker

ASP.NET Core Docker VS2017
C#
8
star
94

ElasticsearchParentChildGrandChild

Console app demo for Elasticsearch Parent Child GrandChild routing
C#
8
star
95

SignalRHostWithUnity

C#
8
star
96

AspNet5AngularJSDynamicRoutes

ASP.NET Core Angular-UI-Router example
JavaScript
8
star
97

WebApiCSVExportFromElasticsearch

C#
8
star
98

WebApiParameters

C#
8
star
99

OnBehalfFlowOidcDownstreamApi

This demo shows how to implement the On Behalf Of flow between an Azure AD protected API and an API protected using OpenIddict.
C#
8
star
100

MvcDynamicDropdownList

aspnet-core mvc razor javascript
C#
8
star