check for required config options
This commit is contained in:
parent
070c51a006
commit
7828b952be
1 changed files with 34 additions and 32 deletions
|
|
@ -38,6 +38,7 @@
|
|||
master_config = options;
|
||||
});
|
||||
|
||||
if (master_config.idp_entry_point && master_config.callback_path && master_config.issuer && master_config.metadata) {
|
||||
samlObj = new passportSAML({
|
||||
path: master_config.callback_path,
|
||||
entryPoint: master_config.idp_entry_point,
|
||||
|
|
@ -71,6 +72,7 @@
|
|||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
console.log("[sso-saml] samlObj", samlObj);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue