SlideShare a Scribd company logo
#GlobalAzure
May 5th – 7th,2022
Bye bye Identity Server
#GlobalAzure
#GlobaAzureSpain
What happened?
OAuth 2 & OpenId Connect
Other libraries and frameworks
Azure to the rescue
#GlobalAzure
#GlobaAzureSpain
What happened?
ASP.NET Core Framework that helps us to incorporate following features to our
applications:
 Token-based authentication
 Single-sign-on
 Api access control
 Federation gateway (Support for external identity providers like Azure Active Directory, Google,
Facebook, etc…)
https://leastprivilege.com/2020/10/01/the-future-of-identityserver/
The “salseo”
3 years => 60k$
 Duende Software is founded (https://duendesoftware.com)
 IdentityServer 4 will be rebranded as Duende IdentityServer.
Duende IdentityServer will contain all new feature work and will
target .NET Core 3.1 and .NET 5 (and all versions beyond)
Bye bye Identity Server
Bye bye Identity Server
The question
#GlobalAzure
#GlobaAzureSpain
OAuth 2 & OpenId Connect
OAuth 2.0 is the industry-standard protocol for authorization (RFC 6749)
Grant types:
 Authorization code (common user flow for confidential and public clients)
 Client credentials (machine to machine)
 Device code (Apple Tv, Playstation, etc…)
Extensions:
 PKCE. Extension for authorization code to prevent CSRF and injection attacks
 Refresh tokens
Grants allow you to get an Access token that will allow you to invoke a protected resource (API for
example)
https://oauth.net/2/
 For confidential clients
 There is no end-user participating
 Usually for “Machine to machine”
 For both confidential and public clients
 Token does not represent an user
 The common flow you all know
Bye bye Identity Server
Legacy grant types:
 Implicit flow Authorization code
 Password grant (resource owner)
 OAuth 2 issues an access token to access protected resources
 OpenId Connect is an identity layer on top of the OAuth2 protocol.
 Issues an extra token to the client application, called the identity token. This token contains
user profile information which can be used by client applications to identify the end-user.
It's wise to keep your tokens small. Therefore, the OpenID Connect protocol offers the possibility to
expose an userinfo endpoint from which clients can retrieve extra information about the end-user
which is not stored in the identity token
#GlobalAzure
#GlobaAzureSpain
Other libraries and
frameworks
ASP.NET Core Framework that helps us to incorporate following features to our
applications:
 Token-based authentication
 Single-sign-on
 Api access control
 Federation gateway (Support for external identity providers like Azure Active Directory, Google,
Facebook, etc…)
Bye bye Identity Server
#GlobalAzure
#GlobaAzureSpain
Azure to the rescue
Is a customer identity access management (CIAM) solution that helps you
to incorporate following features to our applications:
 Token-based authentication
 Single-sign-on
 Api access control
 Federation gateway (Support for external identity providers like Azure Active
Directory, Google, Facebook, etc…)
Features:
 Managed service build on same technology than Azure AD
 Takes care of the scaling
 Handles threats like denial-of-service, password spray, or brute force attacks
 Fully customizable flows
 Custom-branded identity solution
Bye bye Identity Server
https://mybuild.microsoft.com/en-US/home
 Custom policies
 Very complex
 Based on XML
“Azure AD B2C es mucho más de lo que
ves en el portal”
Unai
https://github.com/azure-ad-b2c/Gaining-expertise-with-Azure-AD-B2C/blob/main/policies/Module7/SignUpOrSigninUsingSalesforceAndGoogle.xml
Bye bye Identity Server
• Make a decision before others force you to make
it
• Stop writing your own user
authentication/authorization code
• Use well known standard protocols
• Know them in depth
Bye bye Identity Server
https://docs.microsoft.com/es-es/azure/active-directory-b2c/
Solutions and training:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/solution-articles
https://app.pluralsight.com/library/courses/developing-azure-active-directory-b2c-applications
Custom policies:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-overview
Bye bye Identity Server
Bye bye Identity Server

More Related Content

PPTX
Ogsa ogsi-a more detailed view
PPTX
Data Intensive Grid Service Model
PDF
Semantics, Blockchains and Ricardian Contracts
PDF
chapter 2 architecture
PPTX
cloud computing, Principle and Paradigms: 1 introdution
PPTX
Cloud Computing Principles and Paradigms: 2 migration into a cloud
PDF
Server Virtualization
PDF
.Net framework vs .net core a complete comparison
Ogsa ogsi-a more detailed view
Data Intensive Grid Service Model
Semantics, Blockchains and Ricardian Contracts
chapter 2 architecture
cloud computing, Principle and Paradigms: 1 introdution
Cloud Computing Principles and Paradigms: 2 migration into a cloud
Server Virtualization
.Net framework vs .net core a complete comparison

Similar to Bye bye Identity Server (20)

PPTX
DotNet 2019 | Hugo Biarge - Autenticación en aplicaciones web y nativas
PPTX
Wso2 is integration with .net core
PPTX
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
PDF
.NET Core, ASP.NET Core Course, Session 19
PPTX
Y U No OAuth?!?
PDF
Modern Authentication With Azure Active Directory For Web Applications Develo...
PPTX
Y U No OAuth, Using Common Patterns to Secure Your Web Applications
PPTX
Developing Apps with Azure AD
PPTX
Introduction to Azure AD and Azure AD B2C
PPTX
Asp.Net Identity
PPTX
OAuth 2
PPTX
Microsoft Graph API Delegated Permissions
PPTX
Programming Azure Active Directory (DevLink 2014)
PDF
Securing .NET Core, ASP.NET Core applications
PPTX
OAuth2 & OpenID Connect
PDF
Programming with Azure Active Directory
PDF
Application Security in ASP.NET Core
PPTX
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...
PPTX
Microsoft Graph API Webinar Application Permissions
PDF
2019 - Nova Code Camp - AuthZ fundamentals with ASP.NET Core
DotNet 2019 | Hugo Biarge - Autenticación en aplicaciones web y nativas
Wso2 is integration with .net core
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
.NET Core, ASP.NET Core Course, Session 19
Y U No OAuth?!?
Modern Authentication With Azure Active Directory For Web Applications Develo...
Y U No OAuth, Using Common Patterns to Secure Your Web Applications
Developing Apps with Azure AD
Introduction to Azure AD and Azure AD B2C
Asp.Net Identity
OAuth 2
Microsoft Graph API Delegated Permissions
Programming Azure Active Directory (DevLink 2014)
Securing .NET Core, ASP.NET Core applications
OAuth2 & OpenID Connect
Programming with Azure Active Directory
Application Security in ASP.NET Core
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...
Microsoft Graph API Webinar Application Permissions
2019 - Nova Code Camp - AuthZ fundamentals with ASP.NET Core
Ad

More from Sergio Navarro Pino (6)

PPTX
Back to basic: continuous integration (Madrid DevOps)
PPTX
CI back to basis
PPTX
Advanced deployment scenarios (netcoreconf)
PPTX
Advanced deployment scenarios
PPTX
Azure storage deep dive
PPTX
Managing tasks with Hangfire
Back to basic: continuous integration (Madrid DevOps)
CI back to basis
Advanced deployment scenarios (netcoreconf)
Advanced deployment scenarios
Azure storage deep dive
Managing tasks with Hangfire
Ad

Recently uploaded (20)

PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Transform Your Business with a Software ERP System
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
Complete Guide to Website Development in Malaysia for SMEs
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
wealthsignaloriginal-com-DS-text-... (1).pdf
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Oracle Fusion HCM Cloud Demo for Beginners
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Advanced SystemCare Ultimate Crack + Portable (2025)
17 Powerful Integrations Your Next-Gen MLM Software Needs
Digital Systems & Binary Numbers (comprehensive )
Transform Your Business with a Software ERP System
Why Generative AI is the Future of Content, Code & Creativity?
Operating system designcfffgfgggggggvggggggggg
Designing Intelligence for the Shop Floor.pdf
Patient Appointment Booking in Odoo with online payment
Complete Guide to Website Development in Malaysia for SMEs
Adobe Illustrator 28.6 Crack My Vision of Vector Design
L1 - Introduction to python Backend.pptx
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency

Bye bye Identity Server

Editor's Notes

  • #2: Tengo 45 mins!
  • #8: Today IdentityServer4 is used by thousands of companies and has achieved over 12 million total downloads on Nuget, and has become the de facto standard for .NET-based token services.
  • #11: ¿y si nos quedamos así? Es una opción, pero recomiendo migrar mientras puedas decidir cuando hacerlo. Más adelante puede aparecer una vulnerabilidad y tendrás que hacerlo si o si, y con prisa.
  • #15: Con client ID Con client ID + secret
  • #16: az login --use-device-code
  • #21: Demo de OpenIdDict Lanzamos Velusia Enseñamos login y acceso a recurso Comentamos que no se ven los tokens, es muy seguro, porque se intercambian server a server Mostramos como es el código. Primero server, comentamos como se configura y que es algo más de más bajo nivel que Identity Server Luego el client: es standard, nada especial, usando librerías de Micro
  • #24: Primero: creamos los flows y los probamos. Borrar antes usuario Recuerda pedir claims: Nombre, apellido, ciudad, región, alias Después la aplicación (https://localhost:5000/signin-oidc y https://jwt.ms), y la configuramos. Recuerda marcar tokens. Probamos desde asp.net Hablamos de que devuelve un id_token, eso no nos vale para acceder a un API. Para eso necesitamos Access token Editamos profile Primero custom layout Después fondo etc… (company branding) Tb app local
  • #25: Enseño a poner fondo y banner Tb pagina html a pelo, que la tengo en un storage. Suscripción: visual studio proffesional