TekOnline

Category: Uncategorized

  • Authentik Quick Tip: Direct Social Authentication Without Login Form

    A little-known feature in Authentik allows you to skip the login form entirely and redirect users straight to your social authentication provider. The Problem When setting up social authentication in Authentik (like Google, GitHub, etc.), you typically see a login form with both username/password fields and social login buttons. But what if you want to skip this intermediate step and send users directly to your social provider?…

  • How to Force Close an Angular Development Server (Port 4200) in PowerShell

    As Angular developers, we occasionally encounter situations where our development server becomes unresponsive or we can’t start a new instance because port 4200 is already in use. This quick guide will show you how to effectively manage this common issue in PowerShell. The Problem When you try to start your Angular application and see an…

  • Setting Username to Email on Enrollment in Authentik

    Introduction Authentik is a powerful identity provider that offers flexible authentication flows for various applications. One common requirement when integrating with external identity providers like Google is to automatically set a user’s username to their email address during enrollment. This approach simplifies the user experience and prevents redirection issues that can occur when users are…

  • Deploying a Full-Stack Application: Manual vs CI/CD with Drone Introduction In this article, we’ll explore how to deploy a full-stack application (Angular + FastAPI + Nginx) using both manual deployment and automated CI/CD with Drone. We’ll break down each approach and understand what makes Drone so powerful for automating deployments. The Stack Our application consists…

  • # Building a Stateful Tag Selection System in Angular with Signals and Services

    Introduction In modern web applications, maintaining state across navigation while providing a responsive user interface can be challenging. In this article, we’ll explore how to build a robust tag selection system using Angular’s latest features including signals, services, and Material Design components. The Challenge When implementing a tag selection system, we often face several challenges:…

  • Real-World Use Case: Tracking the Most Recent Changes in Customer Data

    Scenario Imagine you are working for a company that needs to track changes in customer information over time. The company has a table named CustomerAudit that logs every change made to customer data, including the date of the change. The goal is to retrieve the most recent change for each customer. The CustomerAudit Table The CustomerAudit table has the following structure:…

  • Solving Multiple Instance Issues with OIDC Authentication in Angular

    Context When migrating from angular-oidc to oidc-client-ts, we encountered an interesting challenge with popup authentication and state management. The migration itself was straightforward, but we discovered a subtle issue with service instantiation. The Problem While implementing popup authentication, we noticed inconsistent behavior with our user state management. The symptoms were:User state updates weren’t propagating consistentlyMultiple instances of the same service…

  • Just for the record. I purchased a door lock actuator for an e90 BMW from Ebay. After installing it…. it doesn’t work.😢

    To avoid feeling like it was a total waste, here is the install guide.

  • [Solved] Veeam Backup Failed – Cyclic Redundancy Check

    As a tech enthusiast, I try to do make sure I back up. Every night, I rely on Veeam to create a reliable backup of my precious photo library, which I store on a dedicated drive. However, one night, disaster struck: Veeam threw a CRC (Cyclic Redundancy Check) error during the backup process. If you’ve…

  • SQL Cheat Sheet

    Find duplicates in table: Delete specific records by id: