mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #861 from overleaf/csh-update-passport-saml-urls
Update passport-saml URLs
This commit is contained in:
commit
9a88f8646f
1 changed files with 2 additions and 2 deletions
|
@ -424,7 +424,7 @@ if process.env["SHARELATEX_LDAP_URL"]
|
|||
|
||||
|
||||
if process.env["SHARELATEX_SAML_ENTRYPOINT"]
|
||||
# NOTE: see https://github.com/bergie/passport-saml/blob/master/README.md for docs of `server` options
|
||||
# NOTE: see https://github.com/node-saml/passport-saml/blob/master/README.md for docs of `server` options
|
||||
settings.externalAuth = true
|
||||
settings.saml =
|
||||
updateUserDetailsOnLogin: process.env["SHARELATEX_SAML_UPDATE_USER_DETAILS_ON_LOGIN"] == 'true'
|
||||
|
@ -497,7 +497,7 @@ if process.env["SHARELATEX_SAML_ENTRYPOINT"]
|
|||
)
|
||||
|
||||
# SHARELATEX_SAML_CERT cannot be empty
|
||||
# https://github.com/bergie/passport-saml/commit/f6b1c885c0717f1083c664345556b535f217c102
|
||||
# https://github.com/node-saml/passport-saml/commit/f6b1c885c0717f1083c664345556b535f217c102
|
||||
if process.env["SHARELATEX_SAML_CERT"]
|
||||
settings.saml.server.cert = process.env["SHARELATEX_SAML_CERT"]
|
||||
settings.saml.server.privateCert = process.env["SHARELATEX_SAML_PRIVATE_CERT"]
|
||||
|
|
Loading…
Reference in a new issue