mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 03:57:06 -04:00
fixed the SAML callback URL to unconfigurable.
This commit is contained in:
parent
4a4ae9d332
commit
a22be81feb
3 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,7 @@ const intersection = function (array1, array2) { return array1.filter((n) => arr
|
|||
let samlAuth = module.exports = Router()
|
||||
|
||||
passport.use(new SamlStrategy({
|
||||
callbackUrl: config.saml.callbackUrl || config.serverurl + '/auth/saml/callback',
|
||||
callbackUrl: config.serverurl + '/auth/saml/callback',
|
||||
entryPoint: config.saml.idpSsoUrl,
|
||||
issuer: config.saml.issuer || config.serverurl,
|
||||
cert: fs.readFileSync(config.saml.idpCert, 'utf-8'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue