File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,13 @@ var morgan = require("morgan");
88var passport = require ( "passport" ) ;
99var 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" ;
1313var b2cDomainHost = "fabrikamb2c.b2clogin.com" ;
1414var tenantIdGuid = "775527ff-9a37-4307-8b3d-cc311f58d925" ;
1515var policyName = "B2C_1_SUSI" ;
16+
17+
1618var options = {
1719 identityMetadata : "https://" + b2cDomainHost + "/" + tenantIdGuid + "/" + policyName + "/v2.0/.well-known/openid-configuration/" ,
1820
@@ -64,4 +66,4 @@ app.get("/hello",
6466var port = process . env . PORT || 5000 ;
6567app . listen ( port , function ( ) {
6668 console . log ( "Listening on port " + port ) ;
67- } ) ;
69+ } ) ;
You can’t perform that action at this time.
0 commit comments