File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ var passport = require("passport");
9
9
var BearerStrategy = require ( 'passport-azure-ad' ) . BearerStrategy ;
10
10
11
11
// TODO: Update the first 3 variables
12
- var tenantName = "fabrikamb2c"
13
- var tenantID = tenantName + ".onmicrosoft .com";
14
- var clientID = "25eef6e4-c905-4a07-8eb4-0d08d5df8b3f " ;
12
+ var clientID = "93733604-cc77-4a3c-a604-87084dd55348" ;
13
+ var b2cDomainHost = "fabrikamb2c.b2clogin .com";
14
+ var tenantIdGuid = "775527ff-9a37-4307-8b3d-cc311f58d925 " ;
15
15
var policyName = "B2C_1_SUSI" ;
16
- var b2cDomain = ".b2clogin.com"
17
16
18
17
var options = {
19
- identityMetadata : "https://" + tenantName + b2cDomain + "/" + tenantID + "/v2.0/.well-known/openid-configuration/" ,
18
+ identityMetadata : "https://" + b2cDomainHost + "/" + tenantIdGuid + "/" + policyName + "/v2.0/.well-known/openid-configuration/" ,
20
19
clientID : clientID ,
21
20
policyName : policyName ,
22
21
isB2C : true ,
23
- validateIssuer : true ,
22
+ validateIssuer : false ,
24
23
loggingLevel : 'info' ,
24
+ loggingNoPII : false ,
25
25
passReqToCallback : false
26
26
} ;
27
27
@@ -64,4 +64,4 @@ app.get("/hello",
64
64
var port = process . env . PORT || 5000 ;
65
65
app . listen ( port , function ( ) {
66
66
console . log ( "Listening on port " + port ) ;
67
- } ) ;
67
+ } ) ;
Original file line number Diff line number Diff line change 14
14
"express" : " ^4.14.0" ,
15
15
"morgan" : " ^1.7.0" ,
16
16
"passport" : " ^0.3.2" ,
17
- "passport-azure-ad" : " ^3.0.4 "
17
+ "passport-azure-ad" : " ^3.0.12 "
18
18
}
19
19
}
You can’t perform that action at this time.
0 commit comments