Merge pull request #3987 from overleaf/jel-ukamf-script

Check if IdP metadata to hide set

GitOrigin-RevId: 7a30961730b21d512b55faf718e5fe97e15eb6ce
This commit is contained in:
Jessica Lawshe
2021-05-12 02:09:58 +00:00
committed by Copybot
parent 5d7faa7977
commit 29264061d8
2 changed files with 30 additions and 0 deletions
@@ -61,4 +61,13 @@ async function main() {
console.log(`SSO Entity ID: ${samlConfig.entityId}\n`)
console.log(`SSO Entry Point: ${samlConfig.entryPoint}\n`)
console.log(`SSO Certificate: ${samlConfig.cert}\n`)
if (samlConfig.hiddenIdP) {
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
console.log('!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!')
console.log(
`The IdP metadata indicates it should be\nhidden from discovery. Check this is\nthe correct entity ID before using.`
)
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
}
}