Every day, billions of connections are established between users, applications, and digital services. Behind a simple “Connect” button, complex mechanisms come into play to verify identity, authorize access to a resource, or protect sensitive information.
For a long time, the pair of identifier and password was the cornerstone of this trust relationship. Yet, as applications left internal networks to join the cloud, this model revealed its limits. Passwords can be stolen, reused, or intercepted. Identities, for their part, now circulate between systems that share neither the same technologies nor the same security boundaries.
To meet these challenges, several standards have gradually taken hold: OAuth 2.0, OpenID Connect (OIDC), SAML 2.0, FIDO2, and WebAuthn. Their names regularly appear in Microsoft Entra ID architectures, identity federation solutions, and application modernization projects. They are sometimes presented as competing technologies, while often meeting different needs and can work together.
Understanding their origins, mechanisms, and limitations allows you to go beyond simple technical configuration to build a true identity security strategy.

Authentication, authorization, and federation: three concepts to distinguish
Before exploring these standards, a fundamental distinction is necessary.
- Authentication involves verifying that a person or an application is indeed who they claim to be. It answers the question: “Who are you?”
- Authorization then steps in to determine the operations an identity can perform. It answers another question: “What can you do?”
- Identity federation allows multiple systems to share a trust relationship. An application can thus accept the identity of a user authenticated by an external service without having to manage their password itself. Imagine an employee wanting to access a financial management application. Microsoft Entra ID can authenticate this employee and then transmit the necessary information to the application to establish their session. The application can then verify if this user belongs to the group authorized to view financial data.

In this architecture, authentication and authorization remain two separate decisions.
This separation is one of the fundamental principles of modern identity and access management architectures, often referred to by the acronym IAM (Identity and Access Management).
OAuth 2.0: Permissions without password sharing
At the origins of OAuth
The history of OAuth begins in the mid-2000s, when web applications started communicating massively with each other. At that time, some applications directly asked users for their credentials and passwords to access third-party services. An application wishing to retrieve photographs or consult an address book could thus demand the credentials of the relevant service. This practice posed an obvious problem: the user had to entrust their authentication secret to an external application. OAuth, whose name comes from Open Authorization, was created to solve this difficulty.
The OAuth 1.0 protocol was developed starting in 2006 by a community of developers and web service providers. Its standardization was later taken up by the Internet Engineering Task Force (IETF), an international organization responsible notably for producing Internet technical standards. In October 2012, the IETF published OAuth 2.0 under reference RFC 6749. This new version offers a more flexible authorization framework, particularly suited to web, mobile, and programming interfaces.
How does OAuth 2.0 work?
The principle is relatively simple: allow an app to access a resource without knowing its owner’s password. Let’s take the example of a meeting management app wanting to view a user’s Microsoft 365 calendar. The app redirects the user to Microsoft Entra ID to obtain permission.
After authentication and any consent steps, Entra ID issues an access token, called an Access Token, according to the authorization flow used. The application then presents this token to Microsoft Graph, the programming interface that allows access to Microsoft 365 services.
Microsoft Graph notably checks the validity of the token, its recipient, and the permissions granted before authorizing the operation.
The user’s password is never passed to the client application.
However, it should be understood that an access token does not necessarily represent a user. OAuth 2.0 also allows an application to request permissions on its own behalf, notably in interdepartmental communications.

The strengths of OAuth 2.0
The first advantage lies in the separation between authentication information and the permissions granted to applications. An application can only receive the permissions necessary for its operation, rather than general access to the account. This approach favors the principle of least privilege.
OAuth 2.0 also facilitates permission revocation, mobile app integration, and securing programming interfaces, commonly called APIs (Application Programming Interfaces). Its flexibility explains its widespread adoption in cloud architectures.
Security limits and risks
OAuth 2.0 alone does not constitute a user authentication protocol. This distinction is essential: receiving an access token is not enough to prove to a client application the identity of the person using the service. Moreover, a Bearer Token can be exploited by an attacker if it is stolen and remains valid, unless additional protections limit its reuse.
Configuration errors also represent a significant risk. An application with excessive permissions can become a gateway to sensitive data. Malicious consent attacks exploit precisely this possibility.
For new applications, the Authorization Code flow associated with PKCE (Proof Key for Code Exchange) serves as a reference approach. PKCE links the exchange of the authorization code to the initial request, thereby reducing the risks associated with intercepting this code.
Modern security recommendations notably discourage the use of the implicit flow for new implementations and prohibit the use of flows directly using the user’s password. OAuth 2.0 therefore remains an excellent authorization mechanism, provided it is integrated into a properly secured architecture.
OpenID Connect: when OAuth learns to recognize users
Why was OpenID Connect created?
The adoption of OAuth 2.0 quickly highlighted a difficulty. Developers had a standardized mechanism to allow access to resources, but not a universal method to authenticate users from within that same environment. Several vendors had developed their own solutions, leading to implementation differences and interoperability issues.
The OpenID Foundation, an international organization dedicated to digital identity standards, undertook to meet this need. On February 25, 2014, it published the final OpenID Connect 1.0 specification. The project notably benefited from contributions from specialists from Microsoft, Google, Ping Identity, and Salesforce.
The ambition was clear: to add a standardized identity layer on top of OAuth 2.0.
How OpenID Connect works
OpenID Connect, generally abbreviated as OIDC, takes the authorization mechanisms of OAuth 2.0 and introduces an additional element: the ID Token. This token allows an application to verify the identity of the authenticated user.
It is generally represented in the JWT (JSON Web Token) format, a compact format that allows structured information to be carried as statements, called claims.
These statements may notably contain:
- The user’s identifier.
- The identity of the provider who issued the token.
- The application for which the token is intended.
- The expiration date.
- Information about the authentication performed.

Let’s take the example of an internal application developed for a company. When an employee opens this application, it redirects their browser to Microsoft Entra ID. The user authenticates with the identity provider. After validation, the application obtains the necessary elements to establish its own session.
Thanks to the ID Token, it can verify the user’s identity without ever directly manipulating their password.
However, security relies on rigorous token validation: signature, issuer, recipient, expiration, and correlation parameters must be controlled.

The advantages of OIDC
OpenID Connect is particularly well-suited for modern applications. Its use with HTTP exchanges, JSON data, and compact tokens facilitates its integration into web and mobile architectures. It also enables the implementation of Single Sign-On (SSO), or single sign-on.
A user already authenticated with Microsoft Entra ID can thus access multiple applications without having to re-enter their credentials. This experience remains subject to security policies, authentication requirements, and session conditions.
The limitations of OpenID Connect
OIDC introduces a complexity that should not be underestimated. Applications must properly manage redirects, tokens, sessions, and renewal mechanisms.
Improper validation of the ID Token can lead to serious vulnerabilities.
Another important point: the ID Token must not be used as an API access token. Its role is to transmit authentication information to the client application.
To call a protected API, the application must use an access token intended for that resource. This distinction, sometimes overlooked, is essential to application security.
SAML 2.0: the great historical standard of the federation of identities
An origin linked to business needs. Long before the widespread adoption of mobile applications and cloud APIs, large organizations were already looking to simplify access to their applications. Companies had multiple directories, business applications, and partner platforms.
Each system often had its own authentication mechanism. Identity federation emerged as a response to this fragmentation.
The standards SAML (Security Assertion Markup Language) was developed withinOASIS (Organization for the Advancement of Structured Information Standards), an international standardization organization.
The first version of SAML was standardized in 2002. Version 2.0, released in March 2005, consolidated several earlier works and gradually established itself as a reference in professional environments.
How does SAML 2.0 work?
SAML is based on a relationship of trust between two main players. The first is the identity provider, called Identity Provider or IdP. The second is the service provider, called Service Provider or SP.
Imagine a company using Microsoft Entra ID to authenticate its employees and a SaaS human resources management application. When a user tries to access this application, it can redirect them to Entra ID.
After authentication, Entra ID produces a SAML assertion containing information about the user and the authentication event. This assertion, usually digitally signed, is transmitted to the application. The service provider verifies its validity and establishes a session for the user.
Unlike OIDC, which mainly uses JSON tokens, SAML relies on XML (Extensible Markup Language).

SAML’s strengths
SAML 2.0 has a long history in enterprise information systems. Many professional SaaS applications support this standard. It allows centralized authentication, reduces password multiplication, and builds trust between organizations.
This allows administrators to integrate applications with their central identity provider. SAML federation also facilitates the implementation of consistent security policies, since authentication is performed with a controlled service.
The limits of SAML
One of SAML’s main drawbacks lies in its complexity. XML messages, digital signatures, certificates, and federation metadata require rigorous configuration. An error in validating signatures, recipients, or validity conditions can weaken the trust relationship.
Managing certificate renewal is also an operational constraint. Furthermore, SAML was primarily designed for federation scenarios based on web browsers.
It remains perfectly relevant for many enterprise applications but generally proves less natural than OIDC for mobile applications and modern architectures based on APIs.
SAML is therefore not an obsolete standard. It remains widely used, even though OIDC is often a more appropriate choice for new developments.
FIDO2: radically changing the way you prove your identity
The birth of a new approach. For decades, computer security was based on a relatively simple idea: a user knows a secret that the system can verify. This secret was usually a password.
Unfortunately, a known secret can be revealed.
Phishing attacks, compromised password databases, and credential reuse campaigns have gradually demonstrated the limits of this approach. The FIDO Alliance, created in 2012, has set out to develop an alternative. (FIDO = Fast Identity Online) .
This alliance brings together players from the technology, security, and digital services industries around a common goal: reducing dependence on passwords. The work led to several families of specifications, then to FIDO2, developed jointly with the work of the World Wide Web Consortium (W3C). In 2018, FIDO2 reached a major milestone with the advancement of WebAuthn and communication protocols with authenticators.
The cryptographic principle of FIDO2
FIDO2 is based on asymmetric cryptography. Instead of sharing a password between the user and the service, the system uses a pair of cryptographic keys.
The private key remains under the control of the authenticator. The public key is registered with the service.
When a user wants to authenticate, the server sends them a cryptographic challenge. The authenticator uses their private key to produce a signature associated with this challenge. The server then verifies the signature with the registered public key. This operation demonstrates that the user has the corresponding authenticator without exposing the private key to the service.
The key is also associated with the service identity, which significantly strengthens resistance to phishing attacks.

FIDO2 and passkeys
Passkeys, also called passkeys, are based on FIDO standards. They allow the use of mechanisms such as Windows Hello, a hardware security key, or an authenticator built into a device. The user can confirm their identity using a PIN code or local biometric verification.
Two main categories of passkeys must be distinguished.
- Device-linked passkeys keep their private key in a specific authenticator. They are particularly useful when the organization wants to strictly control authentication media.
- Synchronized passkeys can be made available on multiple devices by a compatible credential manager.
This second approach improves the user experience and facilitates access recovery, but introduces a dependency on the security of the synchronization mechanism.
The advantages of FIDO2
The main advantage of FIDO2 lies in its resistance to phishing. Unlike a password or temporary code, a properly implemented FIDO2 authentication is tied to the legitimate service. An attacker therefore cannot simply replicate a login page to retrieve a reusable secret. The absence of a shared password also reduces the risks related to compromised credential databases. The user experience can be greatly simplified, especially with passkeys.
The limits of FIDO2
FIDO2 does not eliminate all security difficulties. Organizations must notably manage authenticator registration, their loss, replacement, and recovery procedures. An insufficiently protected recovery process can weaken the entire device. Synchronized passkeys also require consideration of security policies and equipment control.
Finally, FIDO2 primarily protects the authentication step. It does not guarantee that an already established application session can never be compromised. Protecting tokens, sessions, and endpoints remains essential.
WebAuthn: the common language between browsers and authenticators
A standard resulting from the collaboration between the W3C and the FIDO Alliance. WebAuthn stands for Web Authentication. It is a specification developed by the W3C, in collaboration with the FIDO Alliance. Its goal is to provide web applications with a standardized interface allowing the use of authentication mechanisms based on asymmetric cryptography.
In March 2019, WebAuthn became an official W3C recommendation.
A new milestone was reached on August 25, 2026, with the publication of WebAuthn Level 3 as a W3C recommendation. This development notably strengthens the mechanisms necessary for the large-scale use of passkeys.
How does WebAuthn work?
WebAuthn defines a programming interface accessible to browsers and compatible platforms. When an application wants to register a new authentication method, it can ask the browser to create a cryptographic identifier. The browser communicates with the authenticator available on the device.
This authenticator generates the necessary cryptographic elements, then transmits the public information to the service. Upon a subsequent connection, the browser uses WebAuthn to ask the authenticator to respond to a cryptographic challenge.
The response is then verified by the service. The user can thus authenticate without providing a password.

What is the difference between WebAuthn and FIDO2?
This distinction deserves special attention.
FIDO2 is not a competitor to WebAuthn. FIDO2 refers to a set of specifications including notably WebAuthn and CTAP (Client to Authenticator Protocol).
WebAuthn defines the interactions between a web application, the browser, and the platform’s authentication mechanisms.
CTAP defines communications between the client and certain authenticators, including external security keys.
In other words, WebAuthn is part of the FIDO2 architecture. This complementarity allows browsers, operating systems, and authenticator manufacturers to offer compatible mechanisms.
Comparison table: OAuth 2.0, OIDC, SAML 2.0, FIDO2, and WebAuthn
The five standards studied are not all at the same level of security architecture.
The following table allows you to visualize their essential differences.
| Criterion | OAuth 2.0 | OpenID Connect | SAML 2.0 | FIDO2 | WebAuthn |
| Standardization body | IETF | OpenID Foundation | OASIS | FIDO Alliance and W3C | W3C |
| Significant date | 2012 | 2014 | 2005 | 2018 | 2019 |
| Main objective | Authorization | Federated authentication | Federation of identities | Strong authentication | Web authentication interface |
| User authentication | No, not alone | Yes | Yes | Yes | Yes, as a component |
| API access authorization | Yes | With OAuth 2.0 | Not its main use | No | No |
| Main technology | Access tokens | ID Token, OAuth 2.0 | Assertions XML | Asymmetric cryptography | Web APIs and public keys |
| SSO | Not by itself | Yes | Yes | Can contribute to SSO | Can contribute to SSO |
| Intrinsic resistance to phishing | No | No | No | Yes | Yes |
| Mobile applications | Very suitable | Very suitable | Less natural | By integration | By platform |
| Preferred use case | API and delegation | Modern applications | Enterprise SaaS | Passkeys and security keys | Passwordless web connection |
It would be misleading to classify these standards from least secure to most secure. OAuth 2.0 and OIDC do not pursue the same goal as FIDO2. Similarly, SAML 2.0 can perfectly integrate into an architecture using FIDO2 authentication.
Security therefore depends as much on the combination of technologies as on their configuration.
OAuth 2.0 versus OpenID Connect: a common confusion
One of the most common mistakes is using OAuth 2.0 as an authentication mechanism. Yet, its main purpose is to delegate permissions. Imagine an application obtains a token allowing it to view a calendar.
This token proves that the application has access permission to a given resource. It does not necessarily constitute proof of identity usable by the client application. OpenID Connect precisely solves this difficulty by adding a standardized authentication layer.
In modern architecture, the two technologies often work together.
OIDC allows you to know who is connecting. OAuth 2.0 allows you to determine which resources an application can access. This distinction should guide architectural choices.
SAML 2.0 versus OpenID Connect: two generations of federation
SAML 2.0 and OIDC are more comparable. Both allow an application to rely on an external identity provider to authenticate its users. Their differences mainly lie in their technical design and historical usage.
SAML relies on XML, signed assertions, and federation mechanisms that are particularly common in business applications.
OIDC uses exchanges generally better suited to modern web architectures and mobile applications.
For an existing SaaS application, SAML can remain the simplest choice when the vendor offers proven integration. Conversely, for a new application developed around modern APIs and components, OIDC is generally a more natural option.
The choice should therefore not be guided solely by the protocol’s age, but by the actual needs of the application.
FIDO2 and OIDC: two complementary technologies
Let’s now take a concrete example with Microsoft Entra ID. A company develops an internal application using OpenID Connect. When a user wants to log in, the application redirects them to Entra ID. The identity provider then requests authentication. This authentication can be done with a FIDO2 passkey, possibly using Windows Hello or a hardware security key.
Once the identity is verified, Entra ID continues the OIDC flow and transmits the necessary information to the application. In this architecture, FIDO2 steps in to prove the user’s identity. OIDC then allows this identity to be passed to the application.

The two standards are not competitors: they occur at different stages. This complementarity perfectly illustrates the evolution of modern architectures.
Security does not depend solely on protocol
It would be reassuring to think that adopting a modern standard is enough to secure an application. The reality is more nuanced. An application using OIDC can be vulnerable if it does not validate tokens correctly.
A SAML federation can be compromised if the claims are not rigorously verified.
An OAuth 2.0 environment can expose sensitive data when the permissions granted are excessive.
Even FIDO2, although designed to resist phishing, does not automatically protect against theft of already authenticated sessions.
Security must therefore be considered as a chain of trust.
Token protection
Access tokens are a prime target. When a Bearer-type token is compromised, an attacker can potentially use it as long as it remains valid. Therefore, their lifespan should be limited, their storage protected, and appropriate security mechanisms applied. Applications must also verify the permissions and recipients of tokens.
Session protection
Strong authentication alone does not guarantee the security of the application session. Session cookies, renewal mechanisms, and sign-out policies must be properly configured. In Microsoft environments, conditional access policies allow you to add controls based notably on connection context, risk, and device characteristics.
Which standards should be chosen for a Microsoft Entra ID architecture?
The choice mainly depends on the role played by each component. For a new web application, OpenID Connect is generally the preferred standard for authentication.
When this application needs to access Microsoft Graph or another protected API, OAuth 2.0 steps in to manage permissions. If the company wants to strengthen phishing resistance, FIDO2 passkeys are a particularly interesting solution.
For legacy SaaS applications, SAML 2.0 remains fully relevant when the integration offered by the vendor is reliable and maintained. Finally, WebAuthn naturally intervenes in FIDO2 authentication scenarios based on compatible browsers and platforms.
Towards a digital identity without a password
The evolution of authentication standards ultimately tells of a deeper transformation. The first architectures mainly sought to verify secrets. Identity federation then made it possible to centralize trust between applications.
OAuth 2.0 has made permission delegation easier, while OpenID Connect has provided a solution tailored to the authentication needs of modern applications. With FIDO2 and WebAuthn, a new step has been reached: it becomes possible to prove one’s identity without transmitting reusable secrets.
This change does not mean that passwords will disappear immediately from all systems.
Legacy applications, organizational constraints, and recovery mechanisms will continue to impose periods of coexistence. However, the direction is now clear.
Digital identity is gradually becoming less dependent on what the user knows and more based on cryptographic proofs, trust relationships, and contextual controls.
True modernization of authentication is therefore not about choosing a single protocol, but about understanding how multiple standards can form a coherent, interoperable architecture that is resistant to contemporary threats.

Documentation Microsoft
- Microsoft Entra ID: identity platform documentation
- https://learn.microsoft.com/fr-fr/entra/identity-platform/v2-protocols
- https://learn.microsoft.com/fr-fr/entra/identity/enterprise-apps/what-is-single-sign-on
- https://learn.microsoft.com/fr-fr/entra/identity/authentication/concept-authentication-passkeys-fido2
- Authenticating applications and users with Microsoft Entra ID
Related articles on WorkingTogether.fun