Git Product home page Git Product logo

damienbod / aspnetcorebackchannellogout Goto Github PK

View Code? Open in Web Editor NEW
19.0 6.0 5.0 4.31 MB

ASP.NET Core Back-Channel Logout for Hybrid Clients, Redis, Key Vault, Azure

Home Page: https://damienbod.com/2018/12/18/openid-connect-back-channel-logout-using-azure-redis-cache-and-identityserver4/

License: MIT License

C# 52.75% JavaScript 4.00% CSS 25.00% HTML 16.75% PowerShell 1.49%
aspnet-core oidc identityserver4 logout hybrid-flow ms-sql-server identity 2fa totp back-channel

aspnetcorebackchannellogout's Introduction

ASP.NET Core OpenID Connect Back-Channel Logout for Hybrid Clients

Blogs

Original code for Backchannel Logout

The IdentityServer4 samples was used to build this example. The code was updated, but not changed. See this following link for the original:

https://github.com/IdentityServer/IdentityServer4.Samples/tree/release/Clients/src/MvcHybridBackChannel

Database Setup

The Secure Token Service is setup using IdentityServer4 with Identity and Microsoft SQL Server. Change the connection string and initialize the database using EF Core migrations.

dotnet ef migrations add initSts -c ApplicationDbContext

dotnet ef migrations add initPersistedGrant -c PersistedGrantDbContext

dotnet ef database update -c ApplicationDbContext

dotnet ef database update -c PersistedGrantDbContext

History

2021-02-02 Updated .NET 5, IdentityServer4

2019-02-24 Updated npm packages, removing obsolete APIs

2019-02-07 Added Standalone application example using Azure Key Vault

2018-12-26 Adding ARM template to set key vault secrets

2018-12-23 Adding Key Vault to the MvcHybridBackChannel project

2018-12-18 Added Azure Redis Cache, support for multi instance OIDC backchannel logout

2018-11-22 Updated, Nuget packages, npm packages, Logout controller

Links

https://openid.net/specs/openid-connect-backchannel-1_0.html

http://docs.identityserver.io/en/release/topics/signout.html

https://medium.com/@robert.broeckelmann/openid-connect-logout-eccc73df758f

https://medium.com/@piraveenaparalogarajah/openid-connect-back-channel-logout-1-0-fe1f90c83fe5

https://ldapwiki.com/wiki/OpenID%20Connect%20Back-Channel%20Logout

https://datatracker.ietf.org/meeting/97/materials/slides-97-secevent-oidc-logout-01

aspnetcorebackchannellogout's People

Contributors

damienbod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aspnetcorebackchannellogout's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.