Michał Silski's blog
About MeProjects
  • Nov 17, 2024

    Yet another way of implementing modal dialogs in WPF with MVVM pattern

    Post thumbnail
    In this article, I will share interesting and practical, MVVM-based, approach to modal dialogs implementation in WPF applications. [Read More]
    Tags: dotnet WPF MVVM .NET C# desktop Windows
  • Apr 22, 2024

    ASP.NET AddAuthentication and AddAuthorization explained

    Post thumbnail
    In this article I will describe the concepts of authentication and authorization in ASP.NET, and why it still can be confusing, even knowing authentication and authorization concepts. [Read More]
    Tags: dotnet webapi OAuth .NET C# ASP.NET
  • Mar 7, 2024

    Blazor WASM: OAuth authorization to WebAPI with Azure B2C

    Post thumbnail
    This article shows how to enable blazor web assembly application, to obtain the authorization to access web API with Azure AD B2C. [Read More]
    Tags: Blazor Azure B2C OAuth dotnet .NET C#
  • Jan 10, 2024

    Winforms - How to create a custom window with resize drag and snap features?

    Post thumbnail
    In this article i will describe how to create custom Winforms window, which can be resized, dragged, and snapped, providing the same experience as standard Windows window. [Read More]
    Tags: Winforms Forms dotnet .NET C#
  • Dec 2, 2023

    Entra ID (Azure AD) app registration - client secret vs certificate. What to choose?

    Post thumbnail
    In this article I will compare two methods, which can be used by this client application prove its identity to Entra ID (Azure AD) in the process of OAuth authorization. [Read More]
    Tags: OAuth2.0 Azure AD Entra ID Active Directory OAuth client_secret certificate
  • Nov 5, 2023

    OAuth device code grant with Entra ID (Azure AD) and .NET

    Post thumbnail
    Device code grant described in RFC8628 is an extension to original OAuth 2.0 specification RFC6749. [Read More]
    Tags: OAuth2.0 Azure AD Active Directory OAuth dotnet .NET
  • Oct 1, 2023

    OAuth clickjacking attack explained (with example)

    Post thumbnail
    In OAuth clickjacking attack the attacker tricks the user into authorizing malicious application to access user’s resources. Clickjacking attack is usually hard to notice by the user, though it can be very harmful. [Read More]
    Tags: OAuth2.0 vulnerability hacking OAuth
  • Jul 30, 2023

    OAuth 2.0 - the basics of modern authorization

    Post thumbnail
    Application wants to access your account! Permission requested – application would like to read your profile and calendar! OAuth 2.0 is an authorization protocol that simplifies accessing user’s resources in modern applications. This article explains into OAuth 2.0 protocol from application developer, presenting how modern applications provides effortless login, empowers... [Read More]
    Tags: OAuth2.0 Authorization OAuth
  • Mar 4, 2023

    Auth0: using system browser to authenticate in .NET desktop application

    Post thumbnail
    In previous article I described general ideas on how to integrate OAuth 2.0 authorization and authentication with desktop applications. In this article I will describe how to implement authentication in .NET desktop application with Auth0, using default system browser to perform user’s login and logout actions. [Read More]
    Tags: OAuth2.0 Authentication Auth0
  • Feb 13, 2023

    OAuth 2.0 authorization with desktop application

    Post thumbnail
    This article presents challenges and solutions for integration of OAuth 2.0 authorization with desktop applications. Vast majority of OAuth 2.0 compliant authorization servers lead user through authentication and consent process using html-based web form. This article shows how to seamlessly integrate this process into desktop application, to obtain id or/and... [Read More]
    Tags: OAuth2.0 Authorization
  • Feb 1, 2023

    Azure AD B2C session management with MSAL and React.js - Part 2.

    This article continues the series, related with session management solutions in Azure AD B2C. Previous post outlined polling-based approach, which can be used to determine session status in SSO scope. Today I will focus on front-channel logout. [Read More]
    Tags: Azure-AD-B2C OAuth Authentication React
  • Jan 31, 2023

    Azure AD B2C session management with MSAL and React.js - Part 1.

    Previous article describes session management possibilities provided by OpenId Connect. OpenId-Connect session represents the authenticated user context, maintained between Applications, running on users device, and Identity Provider Server. Vast majority of modern web application works in the context of logged-in user. OAuth-based solutions delegate identity management to external Identity Provider... [Read More]
    Tags: Azure-AD-B2C OAuth Authentication React
  • Jan 30, 2023

    OpenId Connect Session Management

    OpenId-Connect session represents the authenticated user context, maintained between Applications and Identity Provider Server. Session enables applications to provide seamless authentication experience by: [Read More]
    Tags: OpenId-Connect OAuth2.0
  • Jan 29, 2023

    OAuth 2.0 refresh tokens with Azure AD B2C

    Refresh tokens are commonly used in OAuth based authorization scenarios. The purpose of refresh token is to retrieve new id/access token from authorization server, without user interaction. In simple scenarios, once access token expires, user is forced to reauthenticate in order to get new token. With refresh tokens, expired access... [Read More]
    Tags: Azure-AD-B2C OpenId-Connect Azure OAuth
  • Jan 28, 2023

    Progressive profiling with Azure AD B2C

    Post thumbnail
    Azure AD B2C provides advanced tools for user identity and access management. Modern applications often delegate identity and access management to external services. At the same time authorization and authentication needs to be highly flexible, providing features as: Integration with external identity providers like GitHub or Facebook etc. Customization of... [Read More]
    Tags: Azure-AD-B2C Custom-Policy Authentication OpenIdConnect
  • Michał Silski
  • michal.silski@outlook.com
Michał Silski | 2023 | Powered by minima