Microsoft Entra External ID
Authentication

Microsoft Entra External ID app samples and guides

In brief

The page title and description now use Microsoft Entra External ID terminology. Passkey sample links were updated from listing and registration to sign-in and management, and the sample table was revised.

What Entra admins need to know

Administrators using the passkey sample should heed the existing warning to run it only in a test tenant because its deletion flow uses high-privilege permissions and a client secret in browser code.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

SamplesMicrosoft Entra External ID app samples and guides for integrating apps with External ID

Microsoft maintains code samples that demonstrate how to integrate various application types with Microsoft Entra External ID. We provide instructions for downloading and using samples or building your own app based on common authentication and authorization scenarios, development languages, and platforms. Included are instructions for building the project (if applicable) and running the sample application. Within the sample code, comments help you understand how these libraries are used in the application to perform authentication and authorization in an external tenant.

Samples and guides

Use the tabs to sort samples either by app type or your preferred language or platform.

By app type

By app type

Single-page application (SPA)

[!div class="mx-tdCol2BreakAll"]

Language/
Platform
Code sample guide Build and integrate guide
JavaScript • Sign in users
• Sign in users and manage passkeys (GitHub sample)
• Sign in users
• Sign in with passkeys
Angular • Sign in users • Sign in users
React • Sign in users
• Sign in users and manage passkeys (GitHub sample)
• Sign in users
• Sign in with passkeys

Web app

[!div class="mx-tdCol2BreakAll"]

Language/
Platform
Code sample guide Build and integrate guide
macOS (Swift) • Sign in users • Sign in users

Mobile: Native authentication

[!div class="mx-tdCol2BreakAll"]

App type Code sample guide Build and integrate guide
Single-page application • Sign in users
• List and register passkeys (GitHub sample)
• Sign in users
• Sign in with passkeys

JavaScript, Angular

[!div class="mx-tdCol2BreakAll"]

App type Code sample guide Build and integrate guide
Single-page application • Sign in users
• Sign in users and manage passkeys (GitHub sample)
• Sign in users
• Sign in with passkeys

JavaScript, Node

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…