How to issue tokens from Azure AD in a Node.js App/API?
问题 I am building a node app with a express backend. One of the requirements is using Azure AD for authentication. I've installed the passport-azure-ad module and have set it up as the following: import * as passportAD from "passport-azure-ad"; // ... <snip> .... const tenantName = "<MY_TENANT_NAME>""; const clientID = "<MY_CLIENT_ID>"; app.use(passport.initialize()); app.use(passport.session()); const bearerStrategy = new passportAD.BearerStrategy( { identityMetadata: `https://login