/AspNetCoreB2cLogout

ASP.NET Core Session Timeout Razor Pages with Azure AD B2C

Primary LanguageC#MIT LicenseMIT

ASP.NET Core Session Timeout Razor Pages with Azure AD B2C

.NET

This repository shows how an ASP.NET Core Razor Page application could implement an automatic sign-out when a user does not use the application for n-minutes. The application is secured using Azure AD B2C. To remove the session, the client must sign-out both on the ASP.NET Core application and the Azure AD B2C identity provider.

Auto sign-out using ASP.NET Core Razor Pages with Azure AD B2C

History

  • 2023-11-03 Updated packages
  • 2023-08-13 Updated packages
  • 2023-05-07 Updated packages

Links

https://learn.microsoft.com/en-us/azure/active-directory-b2c/openid-connect#send-a-sign-out-request

https://learn.microsoft.com/en-us/aspnet/core/razor-pages/filter

https://github.com/AzureAD/microsoft-identity-web