Skip to content

Commit 9434c3d

Browse files
authored
Merge pull request #14 from Azure-Samples/jennyf19-patch-1
update index.js to make it clear which variables to update
2 parents b3ad5e0 + d46ff9f commit 9434c3d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ var morgan = require("morgan");
88
var passport = require("passport");
99
var BearerStrategy = require('passport-azure-ad').BearerStrategy;
1010

11-
// TODO: Update the first 3 variables
12-
var clientID = "93733604-cc77-4a3c-a604-87084dd55348";
11+
/* Update these four variables with your values from the B2C portal */
12+
var clientID = "93733604-cc77-4a3c-a604-87084dd55348";
1313
var b2cDomainHost = "fabrikamb2c.b2clogin.com";
1414
var tenantIdGuid = "775527ff-9a37-4307-8b3d-cc311f58d925";
1515
var policyName = "B2C_1_SUSI";
16+
17+
1618
var options = {
1719
identityMetadata: "https://" + b2cDomainHost + "/" + tenantIdGuid + "/" + policyName + "/v2.0/.well-known/openid-configuration/",
1820

@@ -64,4 +66,4 @@ app.get("/hello",
6466
var port = process.env.PORT || 5000;
6567
app.listen(port, function () {
6668
console.log("Listening on port " + port);
67-
});
69+
});

0 commit comments

Comments
 (0)