Ver código fonte

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

update metadata processor to match recommended workflow

GitOrigin-RevId: ecce921a1451e4ab544b437691cdde4356ae1804
Jessica Lawshe 6 anos atrás
pai
commit
e45c9d6c10
1 arquivos alterados com 3 adições e 10 exclusões
  1. 3 10
      services/web/scripts/ukamf/metadata-processor.js

+ 3 - 10
services/web/scripts/ukamf/metadata-processor.js

@@ -60,14 +60,7 @@ async function main() {
     )}\n!!!!!!!!!!!!!\n`
     )}\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`)
 }
 }