Commit 89224214 authored by Shane Kilkelly's avatar Shane Kilkelly

Add options for saml firstName and lastName fields.

parent 5c40640d
......@@ -437,7 +437,9 @@ if process.env["SHARELATEX_SAML_ENTRYPOINT"]
settings.externalAuth = true
settings.saml =
identityServiceName: process.env["SHARELATEX_SAML_IDENTITY_SERVICE_NAME"]
emailFieldName: process.env["SHARELATEX_SAML_EMAIL_FIELD_NAME"]
emailField: process.env["SHARELATEX_SAML_EMAIL_FIELD"] || process.env["SHARELATEX_SAML_EMAIL_FIELD_NAME"]
firstNameField: process.env["SHARELATEX_SAML_FIRST_NAME_FIELD"]
lastNameField: process.env["SHARELATEX_SAML_LAST_NAME_FIELD"]
server:
# strings
entryPoint: process.env["SHARELATEX_SAML_ENTRYPOINT"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment