Keyhole Software Logo
Services
Technologies
Experience
Thought Leadership
About
Contact

Design Pattern: Microservice Authentication + Authorization

David Pitt April 11, 2019 Articles, Development Technologies & Tools, Microservices, Security 3 Comments

I’ve been in the software development business for a long time and I can’t tell you how many login screens with authentication logic I have implemented. You might say that one of the most prevalent user stories is the need to log in and securely authenticate a user’s access to an application.

Here at Keyhole Software, we have implemented countless login and authentication approaches for applications, along with simple to sophisticated authorization schemes enforcing access control of applications. Of course, you can utilize the single sign-on type of technologies such as OAuth or OpenID, which offload the development of a login UI and the logic for authentication/authorization. However, these standards are not always utilized in enterprise environments. Many enterprises will have a single authentication mechanism that exploits a federated operating system network such as LDAP. A login UI still has to be created and authorization rules still have to be applied to each application.

Over the last few years, we have helped organizations transition away from monolithic-based applications to isolated microservice-based architectures. With Microservices, authentication and authorization logic is now spread across many decoupled distributed processes. It was a bit simpler with monolithic architectures as only a single process is authenticated and contains access control rules defined.

In this blog, we discuss a design pattern for authorization and authentication for use in a distributed microservices environment.

authenticationauthorizationLoginMicroservicesSecuritySPAUser Access

Recent Posts

  • Project Valhalla: What It Means for Java Performance
  • Post-Quantum Cryptography Support in Java
  • AI in Coding: Using ChatGPT and Copilot to Build JavaScript Animations
  • What’s New in Java 25 (LTS): Language, APIs, and Runtime Performance
  • What is AI-Assisted Development?

What We’re Talking About

  • Blog Tutorials
    • Microservices
  • Java
  • .NET
  • JavaScript
    • React
    • Angular
    • Node.js
  • Cloud
    • Azure
    • AWS
  • Company News

Image
Contact Keyhole

Keyhole Software logo

Keyhole Software provides expert-led, custom software architecture and development solutions through our team of dedicated, U.S.-based consultants.

(877) 521-7769

[email protected]

Company

  • About
  • Service Areas
  • Industries
  • Recent Successes
  • How Keyhole Software Works
  • Technologies
  • Development Blog

services

  • Software Architecture Services
  • Software Development
  • Digital Transformation Services
  • Mobile Development
  • Cloud Consulting
  • DevOps Consulting Services
  • AI Consulting Services

tech

  • .NET
  • Java
  • JavaScript
  • React
  • AWS
  • Azure
  • Google Cloud
  • Python

Dev Blog

Subscribe to receive our employee-written development blog by email.

© Keyhole Software, 2025

Content Usage | Privacy Policy

Services

All Services

Custom Software Development

Developing tailored web & mobile applications to solve enterprise needs

  • Custom Software Development Services
  • Mobile App Development
  • API Development Services
  • Cloud Native Development Services

Digital Transformation

Modernizing legacy systems and adopting innovation to drive business growth

  • Legacy System Modernization Services
  • Cloud Migration & Modernization
  • Mainframe Modernization
  • Xamarin Mobile Migration

DevOps, Platform & Infrastructure Engineering

Ensuring resilience & fault tolerance through DevOps, CI/CD and IaC

  • Platform Engineering Services
  • Software Architecture Services
  • DevOps Consulting & Enablement
  • Microservices Consulting

Artificial Intelligence & Emerging Technologies

Turning your data into action with AI, LLMs, and automation.

  • Enterprise AI Services
  • Retrieval-Augmented Generation (RAG) Architecture
  • AI-Accelerated Software Development

Engagement Models

How We Work

Software Development Project Outsourcing

Our PM + software development team builds end-to-end software for you

Staff Augmentation

Our software developers or specialized experts join your team

Fractional & Advisory Services

Our software leaders provide strategic guidance to drive your initiatives forward

Technologies

See All
C# icon
.NET
  • Java
  • JavaScript
  • React
  • Node.js
  • Angular
  • Python
ImageImage

Cloud

See All
  • Cloud Agnostic
  • AWS
  • Azure
  • Google Cloud

Mobile

See All
Image
Flutter
  • React Native
  • .NET MAUI
  • Xamarin
  • Conversational Apps + Chatbots

About

See All
  • About Keyhole
  • Clients & Partners
    • Clients and Partners
    • What Clients Say
    • AWS Consulting Partner
    • Microsoft Gold Competency Partner
  • Service Areas
  • Industries
  • Highlights & Awards
  • Leadership
  • How We Work & Engagement Models
  • Careers

Portfolio

See All
  • Project Portfolio
  • Case Studies
  • Products & Internal Development
    • All Products
    • EnterpriseGPT
    • CFSWater
    • Guide Diary
    • Guitar Tuner Pro

News

See All News

Keyhole Software Earns Top-10 Spot in Kansas City Corporate Challenge 2025

Featured image for “Keyhole Software Earns Top-10 Spot in Kansas City Corporate Challenge 2025”

Keyhole Named Top Software Development Firm in Kansas City By Clutch

Featured image for “Keyhole Named Top Software Development Firm in Kansas City By Clutch”

Keyhole Software Ranked Top 4 Kansas City Software Development Firm for Second Year

Featured image for “Keyhole Software Ranked Top 4 Kansas City Software Development Firm for Second Year”
  • Keyhole Home
  • Company
    • About Keyhole Software
    • How Keyhole Software Works
      • Staff Augmentation
      • Software Outsourcing
      • Fractional & Advisory Services
    • Clients and Partners
    • Highlights & Awards
    • Service Areas
    • Industries Served
    • Company News
    • Recent Projects
    • Internal Development
      • Fly Tyer World
      • Guide Diary
      • Guitar Tuner Pro
      • KHS Convo
    • Keyhole Careers
  • Services
    • Services Summary
    • Custom Software Development Services
      • All Custom Software Development
      • API Development Services
      • Cloud Native Development Services
      • Mobile App Development & Consulting Services
    • Digital Transformation Services
      • All Modernization
      • Legacy System Modernization Services
      • Cloud Migration / Modernization
      • Angular.js Transformation Consulting
      • Mainframe Modernization
      • Xamarin Migration Consulting Services
      • Microservices Modernization
    • Platform Engineering Services
      • All Platform Engineering
      • Software Architecture Services
      • Microservices Consulting
      • DevOps Consulting Services
    • Artificial Intelligence Client Services
      • All AI Client Services
      • RAG Architecture Consulting
      • AI-Accelerated Software Development
  • Technologies
    • Development
      • C# .NET
      • Java
      • JavaScript
        • React
        • Angular
        • Node.js
      • Python
    • Cloud
      • AWS
      • Google Cloud
      • Azure
    • Mobile App Development & Consulting Services
      • Flutter
      • .NET MAUI Software Development & Consulting Services
      • React Native
      • Xamarin
  • Experience
  • Thought Leadership
    • Software Development Blog
    • Podcasts
      • Generative AI in the Enterprise
      • Next Level
    • Videos & Presentations
    • Educational Events
    • Tutorials
    • White Papers
  • Contact