Merge pull request #2775 from overleaf/ew-update-metadata-processor

update metadata processor to match recommended workflow

GitOrigin-RevId: ecce921a1451e4ab544b437691cdde4356ae1804
This commit is contained in:
Jessica Lawshe 2020-04-27 10:59:54 -05:00 committed by Copybot
parent 3a1ab63cce
commit e45c9d6c10

View file

@ -60,14 +60,7 @@ async function main() {
)}\n!!!!!!!!!!!!!\n`
)
console.log(`UPDATE universities SET
sso_entity_id = '${samlConfig.entityId}',
sso_entry_point = '${samlConfig.entryPoint}',
sso_cert = '${samlConfig.cert}',
sso_user_id_attribute = 'eduPersonPrincipalName',
sso_user_email_attribute = 'mail',
sso_license_entitlement_attribute = 'eduPersonPrincipalName',
sso_license_entitlement_matcher = '.'
WHERE id =
`)
console.log(`SSO Entity ID: ${samlConfig.entityId}\n`)
console.log(`SSO Entry Point: ${samlConfig.entryPoint}\n`)
console.log(`SSO Certificate: ${samlConfig.cert}\n`)
}