mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:53:23 +02:00
Add option to control SAML callback
This commit is contained in:
@@ -35,6 +35,12 @@ module.exports.builder = function(yargs) {
|
||||
, type: 'string'
|
||||
, default: process.env.SAML_ID_PROVIDER_CERT_PATH
|
||||
})
|
||||
.option('saml-id-provider-callback-url', {
|
||||
describe: 'SAML 2.0 identity provider callback URL ' +
|
||||
'in the form of scheme://host[:port]/auth/saml/callback.'
|
||||
, type: 'string'
|
||||
, default: process.env.SAML_ID_PROVIDER_CALLBACK_URL
|
||||
})
|
||||
.option('secret', {
|
||||
alias: 's'
|
||||
, describe: 'The secret to use for auth JSON Web Tokens. Anyone who ' +
|
||||
@@ -68,6 +74,7 @@ module.exports.handler = function(argv) {
|
||||
entryPoint: argv.samlIdProviderEntryPointUrl
|
||||
, issuer: argv.samlIdProviderIssuer
|
||||
, certPath: argv.samlIdProviderCertPath
|
||||
, callbackUrl: argv.samlIdProviderCallbackUrl
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user