Compare commits
2 commits
d440b7f3a7
...
26b8bae2db
| Author | SHA1 | Date | |
|---|---|---|---|
| 26b8bae2db | |||
| 0b77e595e6 |
1 changed files with 3 additions and 4 deletions
|
|
@ -30,14 +30,14 @@
|
|||
res.render('admin/plugins/sso-saml', {});
|
||||
}
|
||||
|
||||
params.router.get('/admin/plugins/sso-saml', params.middleware.admin.buildHeader, render);
|
||||
params.router.get('/api/admin/plugins/sso-saml', render);
|
||||
|
||||
meta.settings.get('sso_saml', function(err, options) {
|
||||
console.log('[sso-saml] got options', options);
|
||||
master_config = options;
|
||||
});
|
||||
|
||||
params.router.get('/admin/plugins/sso-saml', params.middleware.admin.buildHeader, render);
|
||||
params.router.get('/api/admin/plugins/sso-saml', render);
|
||||
|
||||
if (master_config.idp_entry_point && master_config.callback_path && master_config.issuer && master_config.metadata) {
|
||||
samlObj = new passportSAML({
|
||||
path: master_config.callback_path,
|
||||
|
|
@ -150,7 +150,6 @@
|
|||
},
|
||||
|
||||
|
||||
|
||||
SAML.getStrategy = function(strategies, callback) {
|
||||
|
||||
if (samlObj){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue