René's URL Explorer Experiment


Title: Add user authentication to JavaScript apps for Microsoft Graph - Microsoft Graph | Microsoft Learn

Open Graph Title: Add user authentication to JavaScript apps for Microsoft Graph - Microsoft Graph

Description: Learn how to add user authentication to JavaScript apps to call Microsoft Graph

Open Graph Description: Learn how to add user authentication to JavaScript apps to call Microsoft Graph

Opengraph URL: https://learn.microsoft.com/en-us/graph/tutorials/javascript-authentication

X: @MicrosoftLearn

direct link

Domain: docs.microsoft.com

color-schemelight dark
twitter:cardsummary_large_image
og:typewebsite
og:image:altMicrosoft Learn
og:imagehttps://learn.microsoft.com/en-us/media/open-graph-image.png
platform_id3c3d4a43-a489-af03-f96c-8cc61518c52c
scopegraph
localeen-us
adobe-targettrue
uhfHeaderIdMSDocsHeader-MSGraph
page_typeconceptual
feedback_systemStandard
feedback_product_urlhttps://developer.microsoft.com/graph/support
breadcrumb_path/graph/concepts/breadcrumb/toc.json
authorjasonjoh
ms.authorjasonjoh
ms.suitemicrosoft-graph
ms.subservicenon-product-specific
toc_previewtrue
recommendationsfalse
ms.servicemicrosoft-graph
ms.topichow-to
ms.date2025-05-30T00:00:00Z
ms.localizationprioritymedium
document_idfbc2e710-641b-5dda-e9e7-6d1d31675033
document_version_independent_idfbc2e710-641b-5dda-e9e7-6d1d31675033
updated_at2025-06-11T19:27:00Z
original_content_git_urlhttps://github.com/microsoftgraph/microsoft-graph-docs/blob/live/concepts/tutorials/javascript-authentication.md
gitcommithttps://github.com/microsoftgraph/microsoft-graph-docs/blob/00343e9705b068f567eab0b74ba76d369a25bffe/concepts/tutorials/javascript-authentication.md
git_commit_id00343e9705b068f567eab0b74ba76d369a25bffe
site_nameDocs
depot_nameMSDN.microsoft-graph-docs
schemaConceptual
toc_rel../toc.json
word_count933
asset_idtutorials/javascript-authentication
item_typeContent
source_pathconcepts/tutorials/javascript-authentication.md
previous_tlsh_hash9A870C71541C07126FC75C0A6D277B4167F0704C2AA4FFE4352676A961C82D677B6AFC9BBB47D3C5A373C3820691E90E82F6F71E512C27821A483838C1EE1566367CABB5C5
github_feedback_content_git_urlhttps://github.com/microsoftgraph/microsoft-graph-docs-contrib/blob/main/concepts/tutorials/javascript-authentication.md
cmProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/1ae5c491-970a-4062-8301-6336e69f9026
spProductshttps://authoring-docs-microsoft.poolparty.biz/devrel/f2c3e52e-3667-4e8a-bf11-20b9eaccdc8c

Links:

Skip to main content https://docs.microsoft.com/graph/tutorials/javascript-authentication#main
Skip to Ask Learn chat experience https://docs.microsoft.com/graph/tutorials/javascript-authentication
Download Microsoft Edge https://go.microsoft.com/fwlink/p/?LinkID=2092881
More info about Internet Explorer and Microsoft Edge https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge
Read in English https://docs.microsoft.com/graph/tutorials/javascript-authentication
Edit https://github.com/microsoftgraph/microsoft-graph-docs-contrib/blob/main/concepts/tutorials/javascript-authentication.md
Facebook https://docs.microsoft.com/graph/tutorials/javascript-authentication
x.com https://docs.microsoft.com/graph/tutorials/javascript-authentication
LinkedIn https://docs.microsoft.com/graph/tutorials/javascript-authentication
Email https://docs.microsoft.com/graph/tutorials/javascript-authentication
signing inhttps://docs.microsoft.com/graph/tutorials/javascript-authentication
Build JavaScript apps with Microsoft Graphhttps://docs.microsoft.com/graph/tutorials/javascript
Azure Identity client library for JavaScripthttps://www.npmjs.com/package/@azure/identity
Microsoft Graph JavaScript client libraryhttps://www.npmjs.com/package/@microsoft/microsoft-graph-client
device code flowhttps://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code
https://jwt.mshttps://jwt.ms
Get userhttps://docs.microsoft.com/en-us/graph/api/user-get
$select query parameterhttps://docs.microsoft.com/en-us/graph/query-parameters#select-parameter
Read and send emailhttps://docs.microsoft.com/graph/tutorials/javascript-email
en-ushttps://docs.microsoft.com/graph/tutorials/javascript-authentication
Your Privacy Choiceshttps://aka.ms/yourcaliforniaprivacychoices
AI Disclaimerhttps://learn.microsoft.com/en-us/principles-for-ai-generated-content
Previous Versionshttps://learn.microsoft.com/en-us/previous-versions/
Bloghttps://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog
Contributehttps://learn.microsoft.com/en-us/contribute
Privacyhttps://go.microsoft.com/fwlink/?LinkId=521839
Terms of Usehttps://learn.microsoft.com/en-us/legal/termsofuse
Trademarkshttps://www.microsoft.com/legal/intellectualproperty/Trademarks/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.