AspNet6IdentityServer4AngularOidcFlows

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

726
206
TypeScript

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