You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2020. It is now read-only.
// We pass these options in to the ODICBearerStrategy.
37
37
38
38
varoptions={
39
39
// The URL of the metadata document for your app. We will put the keys for token validation from the URL found in the jwks_uri tag of the in the metadata.
40
-
metadataurl: config.creds.openid_configuration
40
+
identityMetadata: config.creds.identityMetadata,
41
+
// issuer: config.creds.issuer,
42
+
audience: config.creds.audience
41
43
42
44
};
43
45
44
-
// array to hold logged in users
46
+
// array to hold logged in users and the current logged in user (owner)
45
47
varusers=[];
46
48
varowner=null;
47
49
48
50
// Our logger
49
-
varlog=bunyan.createLogger({name: 'Windows Azure Active Directory Tutorial'});
// Don't commit this file to your public repos. This config is for first-run
2
2
exports.creds={
3
3
mongoose_auth_local: 'mongodb://localhost/tasklist',// Your mongo auth uri goes here
4
-
openid_configuration: 'https://login.microsoftonline.com/hypercubeb2c.onmicrosoft.com/.well-known/openid-configuration?p=b2c_1_B2CSI',// For using Microsoft you should never need to change this.
5
-
openid_keys: 'https://login.microsoftonline.com/common/discovery/keys'// For using Microsoft you should never need to change this. If asbsent will attempt to get from openid_configuration
identityMetadata: 'https://login.microsoftonline.com/hypercubeb2c.onmicrosoft.com/.well-known/openid-configuration?p=b2c_1_B2CSI'// For using Microsoft you should never need to change this.
0 commit comments